summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1181.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug1181.check')
-rw-r--r--test/files/neg/bug1181.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1181.check b/test/files/neg/bug1181.check
new file mode 100644
index 0000000000..0baf975f9b
--- /dev/null
+++ b/test/files/neg/bug1181.check
@@ -0,0 +1,4 @@
+bug1181.scala:9: error: not a legal formal parameter
+ _ => buildMap(map.update(keyList.head, valueList.head), keyList.tail, valueList.tail)
+ ^
+one error found