diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/i1747.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/i1747.scala b/tests/neg/i1747.scala new file mode 100644 index 000000000..9675de992 --- /dev/null +++ b/tests/neg/i1747.scala @@ -0,0 +1,3 @@ +class Coll[E] extends java.util.Collection[E] { + def toArray[T](a: Array[T]): Array[T] = ??? // error: cannot override +} |