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.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/bug360.scala b/test/files/pos/bug360.scala
index 0860eb8ee3..64a02519cc 100644
--- a/test/files/pos/bug360.scala
+++ b/test/files/pos/bug360.scala
@@ -1,9 +1,9 @@
// $Id$
-abstract class Bug360A requires Bug360C {
+abstract class Bug360A { self: Bug360C =>
def f: String = "hello";
}
-trait Bug360B requires Bug360C {
+trait Bug360B { self: Bug360C =>
object d {
Console.println(f);
}