summaryrefslogtreecommitdiff
path: root/test/files/neg/t4831.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4831.check')
-rw-r--r--test/files/neg/t4831.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t4831.check b/test/files/neg/t4831.check
new file mode 100644
index 0000000000..3b8b836f05
--- /dev/null
+++ b/test/files/neg/t4831.check
@@ -0,0 +1,7 @@
+t4831.scala:10: error: reference to b is ambiguous;
+it is imported twice in the same scope by
+import O.b
+and import O.{a=>b}
+ println(b)
+ ^
+one error found