summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos')
-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..53af1e8a1c
--- /dev/null
+++ b/test/files/pos/bug360.scala
@@ -0,0 +1,11 @@
+// $Id$
+
+abstract class Bug360A: Bug360C {
+ def f: String = "hello";
+}
+abstract class Bug360B: Bug360C {
+ object d {
+ System.out.println(f);
+ }
+}
+abstract class Bug360C extends Bug360A with Bug360B;