diff options
Diffstat (limited to 'test/files/neg/t5390.scala')
-rw-r--r-- | test/files/neg/t5390.scala | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t5390.scala b/test/files/neg/t5390.scala new file mode 100644 index 0000000000..dd628f8851 --- /dev/null +++ b/test/files/neg/t5390.scala @@ -0,0 +1,10 @@ +class A { + object B { def apply(s: String) = 0} +} + +object X { + def foo { + val b = a.B("") + val a = new A + } +}
\ No newline at end of file |