summaryrefslogtreecommitdiff
path: root/test/files/neg/t2796.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2796.scala')
-rw-r--r--test/files/neg/t2796.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/neg/t2796.scala b/test/files/neg/t2796.scala
index 3bcc9df562..fa2f2358b9 100644
--- a/test/files/neg/t2796.scala
+++ b/test/files/neg/t2796.scala
@@ -8,10 +8,9 @@ trait T1 extends {
} with Base
trait T2 extends {
- type X = Int // okay
+ type X = Int // warn
} with Base
-
class C1 extends {
val abstractVal = "C1.abstractVal" // okay
} with Base