diff options
author | Paul Phillips <paulp@improving.org> | 2011-10-21 23:58:53 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-10-21 23:58:53 +0000 |
commit | 4afae5be74303e5238208c69522be2b73d3e2ceb (patch) | |
tree | 687eb16ac6cf43255245c8d388f9bee4dc50d643 /test | |
parent | acb1c39dbd2dec50d793759e95efa07945279337 (diff) | |
download | scala-4afae5be74303e5238208c69522be2b73d3e2ceb.tar.gz scala-4afae5be74303e5238208c69522be2b73d3e2ceb.tar.bz2 scala-4afae5be74303e5238208c69522be2b73d3e2ceb.zip |
Test case closes SI-5105, no review.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/t5105.check | 1 | ||||
-rw-r--r-- | test/files/run/t5105.scala | 14 |
2 files changed, 15 insertions, 0 deletions
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 +} |