diff options
Diffstat (limited to 'tests/pending/run/virtpatmat_valdef.scala')
-rw-r--r-- | tests/pending/run/virtpatmat_valdef.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pending/run/virtpatmat_valdef.scala b/tests/pending/run/virtpatmat_valdef.scala new file mode 100644 index 000000000..f1a9b46cd --- /dev/null +++ b/tests/pending/run/virtpatmat_valdef.scala @@ -0,0 +1,6 @@ +object Test extends App { + // patterns in valdefs... + // TODO: irrefutability should indicate we don't actually need to test, just deconstruct + val (modified, result) : (Boolean, String) = (true, null) + println("meh"+ (modified, result)) +}
\ No newline at end of file |