summaryrefslogtreecommitdiff
path: root/test/files/neg/t5666.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5666.check')
-rw-r--r--test/files/neg/t5666.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t5666.check b/test/files/neg/t5666.check
new file mode 100644
index 0000000000..cc31390dc7
--- /dev/null
+++ b/test/files/neg/t5666.check
@@ -0,0 +1,10 @@
+t5666.scala:2: error: class Any is abstract; cannot be instantiated
+ new Any
+ ^
+t5666.scala:3: error: class AnyVal is abstract; cannot be instantiated
+ new AnyVal
+ ^
+t5666.scala:13: error: trait Nothing is abstract; cannot be instantiated
+ new Nothing
+ ^
+three errors found