summaryrefslogtreecommitdiff
path: root/test/files/neg/t2405.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2405.check')
-rw-r--r--test/files/neg/t2405.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/t2405.check b/test/files/neg/t2405.check
new file mode 100644
index 0000000000..78360bcc21
--- /dev/null
+++ b/test/files/neg/t2405.check
@@ -0,0 +1,8 @@
+t2405.scala:6: warning: imported `y' is permanently hidden by definition of method y
+ import A.{x => y}
+ ^
+t2405.scala:8: error: could not find implicit value for parameter e: Int
+ implicitly[Int]
+ ^
+one warning found
+one error found