summaryrefslogtreecommitdiff
path: root/test/files/neg/t2213.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2213.check')
-rw-r--r--test/files/neg/t2213.check15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/neg/t2213.check b/test/files/neg/t2213.check
new file mode 100644
index 0000000000..f59503ee2a
--- /dev/null
+++ b/test/files/neg/t2213.check
@@ -0,0 +1,15 @@
+t2213.scala:9: error: class C needs to be abstract, since:
+value y in class A of type Int is not defined
+value x in class A of type Int is not defined
+method g in class A of type => Int is not defined
+method f in class A of type => Int is not defined
+class C extends A {}
+ ^
+t2213.scala:11: error: object creation impossible, since:
+value y in class A of type Int is not defined
+value x in class A of type Int is not defined
+method g in class A of type => Int is not defined
+method f in class A of type => Int is not defined
+object Q extends A { }
+ ^
+two errors found