From 4afae5be74303e5238208c69522be2b73d3e2ceb Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Fri, 21 Oct 2011 23:58:53 +0000 Subject: Test case closes SI-5105, no review. --- test/files/run/t5105.check | 1 + test/files/run/t5105.scala | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 test/files/run/t5105.check create mode 100644 test/files/run/t5105.scala (limited to 'test/files') diff --git a/test/files/run/t5105.check b/test/files/run/t5105.check new file mode 100644 index 0000000000..1d4f6efff4 --- /dev/null +++ b/test/files/run/t5105.check @@ -0,0 +1 @@ +You buttered your bread. Now sleep in it! 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 +} -- cgit v1.2.3