summaryrefslogtreecommitdiff
path: root/test/files/run/virtpatmat_valdef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/virtpatmat_valdef.scala')
-rw-r--r--test/files/run/virtpatmat_valdef.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/virtpatmat_valdef.scala b/test/files/run/virtpatmat_valdef.scala
new file mode 100644
index 0000000000..f1a9b46cdd
--- /dev/null
+++ b/test/files/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