summaryrefslogtreecommitdiff
path: root/test/files/run/t5105.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-10-21 23:58:53 +0000
committerPaul Phillips <paulp@improving.org>2011-10-21 23:58:53 +0000
commit4afae5be74303e5238208c69522be2b73d3e2ceb (patch)
tree687eb16ac6cf43255245c8d388f9bee4dc50d643 /test/files/run/t5105.scala
parentacb1c39dbd2dec50d793759e95efa07945279337 (diff)
downloadscala-4afae5be74303e5238208c69522be2b73d3e2ceb.tar.gz
scala-4afae5be74303e5238208c69522be2b73d3e2ceb.tar.bz2
scala-4afae5be74303e5238208c69522be2b73d3e2ceb.zip
Test case closes SI-5105, no review.
Diffstat (limited to 'test/files/run/t5105.scala')
-rw-r--r--test/files/run/t5105.scala14
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
+}