summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs')
-rw-r--r--src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs b/src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs
deleted file mode 100644
index d09bd92c4..000000000
--- a/src/test/mir-opt/simplify_locals_removes_unused_discriminant_reads.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// unit-test: SimplifyLocals
-
-fn map(x: Option<Box<()>>) -> Option<Box<()>> {
- match x {
- None => None,
- Some(x) => Some(x),
- }
-}
-
-fn main() {
- map(None);
-}
-
-// EMIT_MIR simplify_locals_removes_unused_discriminant_reads.map.SimplifyLocals.diff