aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/tuple.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/tuple.scala')
-rw-r--r--tests/patmat/tuple.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/tuple.scala b/tests/patmat/tuple.scala
new file mode 100644
index 000000000..f33a5cfec
--- /dev/null
+++ b/tests/patmat/tuple.scala
@@ -0,0 +1,5 @@
+object Test {
+ (4, (4, 6)) match {
+ case (x, (y, z)) => true
+ }
+} \ No newline at end of file