summaryrefslogtreecommitdiff
path: root/test/files/neg/t1112.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t1112.check')
-rw-r--r--test/files/neg/t1112.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t1112.check b/test/files/neg/t1112.check
new file mode 100644
index 0000000000..e69be3ef2c
--- /dev/null
+++ b/test/files/neg/t1112.check
@@ -0,0 +1,4 @@
+t1112.scala:12: error: too many arguments for method call: (p: Int)(f: => () => Unit)Unit
+ call(0,() => System.out.println("here we are"))
+ ^
+one error found