summaryrefslogtreecommitdiff
path: root/test/files/pos/S5.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/S5.scala')
-rw-r--r--test/files/pos/S5.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/S5.scala b/test/files/pos/S5.scala
index f0b66a6e68..08f5b2a6eb 100644
--- a/test/files/pos/S5.scala
+++ b/test/files/pos/S5.scala
@@ -16,7 +16,7 @@ abstract class M() {
// module body of M
}
}
-trait N {
+abstract class N() {
val _N: N = this;
val n: _N.n = new _N.n();
val _M: M;
@@ -26,5 +26,5 @@ trait N {
}
}
object O {
- val system = new M() with N {}
+ val system = new M() with N() {}
}