summaryrefslogtreecommitdiff
path: root/test/files/pos/bug360.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/bug360.scala')
-rw-r--r--test/files/pos/bug360.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/bug360.scala b/test/files/pos/bug360.scala
new file mode 100644
index 0000000000..0fcb5cb161
--- /dev/null
+++ b/test/files/pos/bug360.scala
@@ -0,0 +1,11 @@
+// $Id$
+
+abstract class Bug360A: Bug360C {
+ def f: String = "hello";
+}
+trait Bug360B: Bug360C {
+ object d {
+ System.out.println(f);
+ }
+}
+abstract class Bug360C extends Bug360A with Bug360B;