summaryrefslogtreecommitdiff
path: root/test/files/neg/t4928.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4928.check')
-rw-r--r--test/files/neg/t4928.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t4928.check b/test/files/neg/t4928.check
new file mode 100644
index 0000000000..06d4f22522
--- /dev/null
+++ b/test/files/neg/t4928.check
@@ -0,0 +1,5 @@
+t4928.scala:3: error: parameter 'a' is already specified at parameter position 1
+Note that that 'z' is not a parameter name of the invoked method.
+ f(z = 0, a = 1)
+ ^
+one error found