diff options
Diffstat (limited to 'test/files/pos/abstract.scala')
-rw-r--r-- | test/files/pos/abstract.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/abstract.scala b/test/files/pos/abstract.scala index f51ae63e6b..533f996931 100644 --- a/test/files/pos/abstract.scala +++ b/test/files/pos/abstract.scala @@ -1,9 +1,9 @@ -trait C { +abstract class C() { type t; def copy(x: t): t = x; } -class D() extends C { +class D() extends C() { type t = Int; System.out.println(copy(1)); } |