summaryrefslogtreecommitdiff
path: root/test/files/neg/scopes.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/scopes.check')
-rw-r--r--test/files/neg/scopes.check7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/files/neg/scopes.check b/test/files/neg/scopes.check
index 13f728b01c..bb8e15058b 100644
--- a/test/files/neg/scopes.check
+++ b/test/files/neg/scopes.check
@@ -22,4 +22,9 @@ scopes.scala:15: error: x is already defined as value x
scopes.scala:17: error: x is already defined as value x
case x::x => x
^
-8 errors found
+scopes.scala:1: error: type mismatch;
+ found : float
+ required: int
+case class test0(x: int, x: float)
+ ^
+9 errors found