summaryrefslogtreecommitdiff
path: root/test/files/neg/t4928.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4928.scala')
-rw-r--r--test/files/neg/t4928.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t4928.scala b/test/files/neg/t4928.scala
new file mode 100644
index 0000000000..17a5980314
--- /dev/null
+++ b/test/files/neg/t4928.scala
@@ -0,0 +1,4 @@
+class C {
+ def f(a: Int, b: Int = 0) = 0
+ f(z = 0, a = 1)
+}