diff options
Diffstat (limited to 'tests/untried/pos/t360.scala')
-rw-r--r-- | tests/untried/pos/t360.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/pos/t360.scala b/tests/untried/pos/t360.scala new file mode 100644 index 000000000..f3716d4f9 --- /dev/null +++ b/tests/untried/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; |