summaryrefslogtreecommitdiff
path: root/test/files/neg/bug856.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug856.check')
-rw-r--r--test/files/neg/bug856.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug856.check b/test/files/neg/bug856.check
new file mode 100644
index 0000000000..5f5948c2cf
--- /dev/null
+++ b/test/files/neg/bug856.check
@@ -0,0 +1,4 @@
+bug856.scala:3 error: class ComplexRect needs to be abstract, since method _2 in trait Product2 of type => scala.Double is not defined
+class ComplexRect(val _1:double, _2:double) extends Complex {
+^
+one error found