diff options
Diffstat (limited to 'tests/untried/pos/t757.scala')
-rw-r--r-- | tests/untried/pos/t757.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/untried/pos/t757.scala b/tests/untried/pos/t757.scala new file mode 100644 index 000000000..602f3cd4d --- /dev/null +++ b/tests/untried/pos/t757.scala @@ -0,0 +1,13 @@ +package foo { + object C { + def foo: Unit = { + Console.println("foo") + } + } +} + +package bar { + object Main extends App { + foo.C.foo + } +} |