aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t6008.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t6008.scala')
-rw-r--r--tests/patmat/t6008.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/t6008.scala b/tests/patmat/t6008.scala
new file mode 100644
index 000000000..c42e9c5a5
--- /dev/null
+++ b/tests/patmat/t6008.scala
@@ -0,0 +1,5 @@
+object Test {
+ def x(in: (Int, Boolean)) = in match {
+ case (i: Int, b: Boolean) => 3
+ }
+} \ No newline at end of file