diff options
Diffstat (limited to 'src/test/ui/mir/mir_codegen_call_converging.rs')
-rw-r--r-- | src/test/ui/mir/mir_codegen_call_converging.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/mir/mir_codegen_call_converging.rs b/src/test/ui/mir/mir_codegen_call_converging.rs deleted file mode 100644 index 9c340e4e0..000000000 --- a/src/test/ui/mir/mir_codegen_call_converging.rs +++ /dev/null @@ -1,17 +0,0 @@ -// run-pass -fn converging_fn() -> u64 { - 43 -} - -fn mir() -> u64 { - let x; - loop { - x = converging_fn(); - break; - } - x -} - -fn main() { - assert_eq!(mir(), 43); -} |