aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t360.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t360.scala')
-rw-r--r--tests/pos/t360.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/t360.scala b/tests/pos/t360.scala
new file mode 100644
index 000000000..f3716d4f9
--- /dev/null
+++ b/tests/pos/t360.scala
@@ -0,0 +1,9 @@
+abstract class Bug360A { self: Bug360C =>
+ def f: String = "hello";
+}
+trait Bug360B { self: Bug360C =>
+ object d {
+ Console.println(f);
+ }
+}
+abstract class Bug360C extends Bug360A with Bug360B;