summaryrefslogtreecommitdiff
path: root/test/files/neg/t6013.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t6013.check')
-rw-r--r--test/files/neg/t6013.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t6013.check b/test/files/neg/t6013.check
new file mode 100644
index 0000000000..502da999f5
--- /dev/null
+++ b/test/files/neg/t6013.check
@@ -0,0 +1,7 @@
+DerivedScala.scala:4: error: class C needs to be abstract, since there is a deferred declaration of method foo in class B of type => Int which is not implemented in a subclass
+class C extends B
+ ^
+DerivedScala.scala:7: error: class DerivedScala needs to be abstract, since there is a deferred declaration of method foo in class Abstract of type ()Boolean which is not implemented in a subclass
+class DerivedScala extends Abstract
+ ^
+two errors found