summaryrefslogtreecommitdiff
path: root/test/files/neg/t9684b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t9684b.check')
-rw-r--r--test/files/neg/t9684b.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t9684b.check b/test/files/neg/t9684b.check
new file mode 100644
index 0000000000..5f328abd43
--- /dev/null
+++ b/test/files/neg/t9684b.check
@@ -0,0 +1,7 @@
+t9684b.scala:6: error: reference to asScalaIterator is ambiguous;
+it is imported twice in the same scope by
+import scala.collection.JavaConversions._
+and import scala.collection.JavaConverters._
+ asScalaIterator(null) // fails: asScalaIterator is imported twice.
+ ^
+one error found