summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/equal_true.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/mir-opt/equal_true.rs')
-rw-r--r--src/test/mir-opt/equal_true.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/mir-opt/equal_true.rs b/src/test/mir-opt/equal_true.rs
deleted file mode 100644
index 717d10c6d..000000000
--- a/src/test/mir-opt/equal_true.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-// unit-test InstCombine
-
-// EMIT_MIR equal_true.opt.InstCombine.diff
-
-fn opt(x: bool) -> i32 {
- if x == true { 0 } else { 1 }
-}
-
-fn main() {
- opt(true);
-}