From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- src/test/mir-opt/loop_test.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/test/mir-opt/loop_test.rs (limited to 'src/test/mir-opt/loop_test.rs') diff --git a/src/test/mir-opt/loop_test.rs b/src/test/mir-opt/loop_test.rs deleted file mode 100644 index 7ded5b575..000000000 --- a/src/test/mir-opt/loop_test.rs +++ /dev/null @@ -1,17 +0,0 @@ -// compile-flags: -Z identify_regions - -// Tests to make sure we correctly generate falseUnwind edges in loops - -// EMIT_MIR loop_test.main.SimplifyCfg-promote-consts.after.mir -fn main() { - // Exit early at runtime. Since only care about the generated MIR - // and not the runtime behavior (which is exercised by other tests) - // we just bail early. Without this the test just loops infinitely. - if true { - return; - } - loop { - let x = 1; - continue; - } -} -- cgit v1.2.3