summaryrefslogtreecommitdiff
path: root/test/files/run/t4171.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t4171.scala')
-rw-r--r--test/files/run/t4171.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t4171.scala b/test/files/run/t4171.scala
index fba2fb5ed6..7f6dfd48ce 100644
--- a/test/files/run/t4171.scala
+++ b/test/files/run/t4171.scala
@@ -1,3 +1,6 @@
+
+import scala.language.{ reflectiveCalls }
+
object Test {
val c = { class C; new C { def foo = 1 } }
val a = { class B { def bar = 5 }; class C extends B; new C }