summaryrefslogtreecommitdiff
path: root/test/files/neg/t3653.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3653.check')
-rw-r--r--test/files/neg/t3653.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t3653.check b/test/files/neg/t3653.check
new file mode 100644
index 0000000000..ac6e2ca9dc
--- /dev/null
+++ b/test/files/neg/t3653.check
@@ -0,0 +1,7 @@
+t3653.scala:3: error: double definition:
+method x:(implicit x: Int)Int and
+method x:(i: Int)Int at line 2
+have same type after erasure: (x: Int)Int
+ def x(implicit x: Int) = 5
+ ^
+one error found