aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t7294.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t7294.scala')
-rw-r--r--tests/untried/neg/t7294.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t7294.scala b/tests/untried/neg/t7294.scala
new file mode 100644
index 000000000..335d07112
--- /dev/null
+++ b/tests/untried/neg/t7294.scala
@@ -0,0 +1,5 @@
+object Test {
+ // Treat TupleN as final under -Xfuture for the for the purposes
+ // of the "fruitless type test" warning.
+ (1, 2) match { case Seq() => 0; case _ => 1 }
+}