summaryrefslogtreecommitdiff
path: root/test/files/neg/t771.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t771.check')
-rw-r--r--test/files/neg/t771.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t771.check b/test/files/neg/t771.check
new file mode 100644
index 0000000000..c0d1e002f8
--- /dev/null
+++ b/test/files/neg/t771.check
@@ -0,0 +1,4 @@
+t771.scala:4: error: trait Iterator is abstract; cannot be instantiated
+ def c[A](it:java.util.Iterator[A]) = new scala.Iterator[A]
+ ^
+one error found