diff options
Diffstat (limited to 'test/neg/bug107.scala')
-rw-r--r-- | test/neg/bug107.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/neg/bug107.scala b/test/neg/bug107.scala new file mode 100644 index 0000000000..3bcb23e563 --- /dev/null +++ b/test/neg/bug107.scala @@ -0,0 +1,8 @@ +trait C { + def foo: Int; +} +object O extends C { + def main(args: Array[String]) = { + System.out.println(foo); + } +} |