aboutsummaryrefslogtreecommitdiff
path: root/tests/new/t2425.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/t2425.scala')
-rwxr-xr-xtests/new/t2425.scala15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/new/t2425.scala b/tests/new/t2425.scala
deleted file mode 100755
index 477d5467a..000000000
--- a/tests/new/t2425.scala
+++ /dev/null
@@ -1,15 +0,0 @@
-trait B
-class D extends B
-object Test extends App {
- def foo[T](bar: T) = {
- bar match {
- case _: Array[Array[_]] => println("array 2d")
- case _: Array[_] => println("array 1d")
- case _ => println("something else")
- }
- }
- foo(Array.fill(10)(2))
- foo(Array.fill(10, 10)(2))
- foo(Array.fill(10, 10, 10)(2))
- foo(List(1, 2, 3))
-}