diff options
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.rs | 14 |
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 |