aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/virtpatmat_npe.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/virtpatmat_npe.scala')
-rw-r--r--tests/pending/run/virtpatmat_npe.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/pending/run/virtpatmat_npe.scala b/tests/pending/run/virtpatmat_npe.scala
deleted file mode 100644
index efa66f328..000000000
--- a/tests/pending/run/virtpatmat_npe.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-class C {
- class D
- val values = new Array[AnyRef](10)
- values(0) match {
- case name: D => println("NOK: "+ name) // the outer check on D's outer should not cause a NPE
- case null => println("OK")
- }
-}
-
-object Test extends C with App