aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/tuplePatDef.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/tuplePatDef.scala')
-rw-r--r--tests/pos/tuplePatDef.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/tuplePatDef.scala b/tests/pos/tuplePatDef.scala
new file mode 100644
index 000000000..22f8f8e7d
--- /dev/null
+++ b/tests/pos/tuplePatDef.scala
@@ -0,0 +1,4 @@
+
+object Test {
+ val (x,y): (String, Int) = null
+}