summaryrefslogtreecommitdiff
path: root/test/files/run/t6690.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6690.scala')
-rw-r--r--test/files/run/t6690.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t6690.scala b/test/files/run/t6690.scala
index 43ede967a0..15b1817e87 100644
--- a/test/files/run/t6690.scala
+++ b/test/files/run/t6690.scala
@@ -1,5 +1,7 @@
import scala.collection.mutable
+import scala.language.{ reflectiveCalls }
+
object Test extends App {
def last0(ml: mutable.MutableList[Int]) =
ml.asInstanceOf[{def last0: mutable.LinkedList[Int]}].last0