summaryrefslogtreecommitdiff
path: root/test/files/pos/t757.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t757.scala')
-rw-r--r--test/files/pos/t757.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/pos/t757.scala b/test/files/pos/t757.scala
new file mode 100644
index 0000000000..fd7624cee7
--- /dev/null
+++ b/test/files/pos/t757.scala
@@ -0,0 +1,13 @@
+package foo {
+ object C {
+ def foo {
+ Console.println("foo")
+ }
+ }
+}
+
+package bar {
+ object Main extends App {
+ foo.C.foo
+ }
+}