summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/issue-26251.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/match/issue-26251.rs')
-rw-r--r--src/test/ui/match/issue-26251.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/match/issue-26251.rs b/src/test/ui/match/issue-26251.rs
deleted file mode 100644
index a3e26a412..000000000
--- a/src/test/ui/match/issue-26251.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// run-pass
-#![allow(overlapping_range_endpoints)]
-
-fn main() {
- let x = 'a';
-
- let y = match x {
- 'a'..='b' if false => "one",
- 'a' => "two",
- 'a'..='b' => "three",
- _ => panic!("what?"),
- };
-
- assert_eq!(y, "two");
-}