summaryrefslogtreecommitdiff
path: root/test/files/neg/t0851.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0851.check')
-rw-r--r--test/files/neg/t0851.check9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t0851.check b/test/files/neg/t0851.check
new file mode 100644
index 0000000000..61d2a98632
--- /dev/null
+++ b/test/files/neg/t0851.check
@@ -0,0 +1,9 @@
+t0851.scala:14: error: not enough arguments for method apply: (v1: Int,v2: String)java.lang.String in trait Function2.
+Unspecified value parameter v2.
+ println(f(1))
+ ^
+t0851.scala:22: error: not enough arguments for method apply: (v1: Int,v2: String)java.lang.String in trait Function2.
+Unspecified value parameter v2.
+ println(fn(1))
+ ^
+two errors found