summaryrefslogtreecommitdiff
path: root/test/neg/bug95.check
blob: 8dd3507cd909f7ba79bc13df938753af0d5de7f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
                ^
bug95.scala:2: illegal inheritance;
 scala.Unit does not conform to scala.ScalaObject's supertype
class T extends Unit;
        ^
four errors found