summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/issue-11940.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/match/issue-11940.rs')
-rw-r--r--src/test/ui/match/issue-11940.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/match/issue-11940.rs b/src/test/ui/match/issue-11940.rs
deleted file mode 100644
index 6815c87ed..000000000
--- a/src/test/ui/match/issue-11940.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// run-pass
-
-const TEST_STR: &'static str = "abcd";
-
-fn main() {
- let s = "abcd";
- match s {
- TEST_STR => (),
- _ => unreachable!()
- }
-}