diff options
Diffstat (limited to 'test/files/neg/permanent-blindness.scala')
-rw-r--r-- | test/files/neg/permanent-blindness.scala | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/files/neg/permanent-blindness.scala b/test/files/neg/permanent-blindness.scala new file mode 100644 index 0000000000..b6d09d6dce --- /dev/null +++ b/test/files/neg/permanent-blindness.scala @@ -0,0 +1,22 @@ +package foo { + class Bippy + object Bop { + def fff = 5 + } + object Dingus +} + +package bar { + import foo.{ Bippy, Bop, Dingus } + + class Bippy + object Bop + object Dingus + + + class Ding { + def fff = 5 + + def g = new Bippy + } +}
\ No newline at end of file |