aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t6145.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/t6145.scala')
-rw-r--r--tests/pending/pos/t6145.scala11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/pending/pos/t6145.scala b/tests/pending/pos/t6145.scala
deleted file mode 100644
index 4161a24b5..000000000
--- a/tests/pending/pos/t6145.scala
+++ /dev/null
@@ -1,11 +0,0 @@
-object Test {
- // the existential causes a cast and the cast makes searchClass not be in tail position
- // can we get rid of the useless cast?
- @annotation.tailrec
- final def searchClass: Class[_] = {
- "packageName" match {
- case _ =>
- searchClass
- }
- }
-}