summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t9097.flags1
-rw-r--r--test/files/pos/t9097.scala9
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t9097.flags b/test/files/pos/t9097.flags
new file mode 100644
index 0000000000..0f8175b88b
--- /dev/null
+++ b/test/files/pos/t9097.flags
@@ -0,0 +1 @@
+-Ydelambdafy:method -Ybackend:GenBCode -Xfatal-warnings \ No newline at end of file
diff --git a/test/files/pos/t9097.scala b/test/files/pos/t9097.scala
new file mode 100644
index 0000000000..5e0e921271
--- /dev/null
+++ b/test/files/pos/t9097.scala
@@ -0,0 +1,9 @@
+package o
+package a {
+ class C {
+ def hihi = List(1,2).map(_ * 2)
+ }
+}
+package object a {
+ def f = 1
+}