summaryrefslogtreecommitdiff
path: root/test/files/run/t7290.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7290.check')
-rw-r--r--test/files/run/t7290.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7290.check b/test/files/run/t7290.check
new file mode 100644
index 0000000000..aff48abd4a
--- /dev/null
+++ b/test/files/run/t7290.check
@@ -0,0 +1,6 @@
+t7290.scala:4: warning: Pattern contains duplicate alternatives: 0
+ case 0 | 0 => 0
+ ^
+t7290.scala:5: warning: Pattern contains duplicate alternatives: 2, 3
+ case 2 | 2 | 2 | 3 | 2 | 3 => 0
+ ^