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