aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t5504
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t5504')
-rw-r--r--tests/untried/pos/t5504/s_1.scala4
-rw-r--r--tests/untried/pos/t5504/s_2.scala8
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/untried/pos/t5504/s_1.scala b/tests/untried/pos/t5504/s_1.scala
new file mode 100644
index 000000000..35cb2c8ba
--- /dev/null
+++ b/tests/untried/pos/t5504/s_1.scala
@@ -0,0 +1,4 @@
+// a.scala
+package object foo {
+ val m: List[_] = Nil
+}
diff --git a/tests/untried/pos/t5504/s_2.scala b/tests/untried/pos/t5504/s_2.scala
new file mode 100644
index 000000000..03eecf6e1
--- /dev/null
+++ b/tests/untried/pos/t5504/s_2.scala
@@ -0,0 +1,8 @@
+// b.scala
+package foo
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ println(foo.m)
+ }
+}