aboutsummaryrefslogtreecommitdiff
path: root/tests/neg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg')
-rw-r--r--tests/neg/i1747.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/neg/i1747.scala b/tests/neg/i1747.scala
index 9675de992..b35e364fa 100644
--- a/tests/neg/i1747.scala
+++ b/tests/neg/i1747.scala
@@ -1,3 +1,3 @@
class Coll[E] extends java.util.Collection[E] {
- def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override
+ def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override // error
}