aboutsummaryrefslogtreecommitdiff
path: root/tests/neg
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-02-02 16:38:41 +1100
committerMartin Odersky <odersky@gmail.com>2017-02-08 22:20:26 +1100
commitff0921c2e588eeb6590efea057862c14f2154e99 (patch)
tree8512719ac7e63624c8e88e1952f12e3f7ba65efb /tests/neg
parent0f396544ced68ca2548b204527e2325c3fc65135 (diff)
downloaddotty-ff0921c2e588eeb6590efea057862c14f2154e99.tar.gz
dotty-ff0921c2e588eeb6590efea057862c14f2154e99.tar.bz2
dotty-ff0921c2e588eeb6590efea057862c14f2154e99.zip
Update test case
Diffstat (limited to 'tests/neg')
-rw-r--r--tests/neg/i1653.scala2
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
}