summaryrefslogtreecommitdiff
path: root/test/neg/bug122.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/bug122.check')
-rw-r--r--test/neg/bug122.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/neg/bug122.check b/test/neg/bug122.check
new file mode 100644
index 0000000000..9c49271882
--- /dev/null
+++ b/test/neg/bug122.check
@@ -0,0 +1,7 @@
+bug122.scala:2: recursive value v$ needs type
+ val List(v:int,2) = List(2,v:int);
+ ^
+bug122.scala:3: recursive value ds$0$ needs type
+ val Pair(a:int,b:int) = Pair(1,a);
+ ^
+two errors found