summaryrefslogtreecommitdiff
path: root/test/neg/bug95.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug95.check')
-rw-r--r--test/neg/bug95.check10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/neg/bug95.check b/test/neg/bug95.check
index 0f67daa2fe..8dd3507cd9 100644
--- a/test/neg/bug95.check
+++ b/test/neg/bug95.check
@@ -1,7 +1,15 @@
bug95.scala:1: illegal inheritance from sealed class
class C extends AnyVal;
^
+bug95.scala:1: illegal inheritance;
+ scala.AnyVal does not conform to scala.ScalaObject's supertype
+class C extends AnyVal;
+ ^
bug95.scala:2: illegal inheritance from sealed class
class T extends Unit;
^
-two errors found
+bug95.scala:2: illegal inheritance;
+ scala.Unit does not conform to scala.ScalaObject's supertype
+class T extends Unit;
+ ^
+four errors found