diff options
Diffstat (limited to 'tests/neg/i1653.scala')
-rw-r--r-- | tests/neg/i1653.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/i1653.scala b/tests/neg/i1653.scala index ab5369e5f..f21fc7d54 100644 --- a/tests/neg/i1653.scala +++ b/tests/neg/i1653.scala @@ -1,3 +1,3 @@ trait Foo { - def foo() = new Unit with Foo // error + def foo() = new Unit with Foo // error: cannot extend final class Unit // error: illegal trait inheritance } |