summaryrefslogtreecommitdiff
path: root/test/pos/test5.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pos/test5.scala')
-rw-r--r--test/pos/test5.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pos/test5.scala b/test/pos/test5.scala
index bc3a17c9be..4dbafc9ac3 100644
--- a/test/pos/test5.scala
+++ b/test/pos/test5.scala
@@ -14,7 +14,7 @@ object test {
abstract class I[X]() {
// Methods to check the type X and P as seen from instances of I
def chk_ix(x: X): Unit = ();
- def chk_ip(p: P): Unit {}
+ def chk_ip(p: P): Unit;
// Value with type X as seen from instances of I
def val_ix: X = val_ix;