aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/customArgs/i2002.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/customArgs/i2002.scala')
-rw-r--r--tests/neg/customArgs/i2002.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/neg/customArgs/i2002.scala b/tests/neg/customArgs/i2002.scala
new file mode 100644
index 000000000..5561b77b8
--- /dev/null
+++ b/tests/neg/customArgs/i2002.scala
@@ -0,0 +1,4 @@
+class Test {
+ def foo(i: Int): Int = i
+ def foo(implicit i: Int): Int = i // error
+}