diff options
Diffstat (limited to 'test/files/run/t5105.scala')
-rw-r--r-- | test/files/run/t5105.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/run/t5105.scala b/test/files/run/t5105.scala new file mode 100644 index 0000000000..f5a9a3c4da --- /dev/null +++ b/test/files/run/t5105.scala @@ -0,0 +1,14 @@ +object Test { + def main(args: Array[String]) { + new foo.Bar + println("You buttered your bread. Now sleep in it!") + } +} + +package foo { + trait Foo { def foo() {} } + class Bar extends Baz with Foo + + abstract class Baz + object Baz extends Foo +} |