Rust: Add a CFG test for a return within a break

This commit is contained in:
Simon Friis Vindum
2024-10-18 13:22:39 +02:00
parent 6568eb80a2
commit 4ca6b0eceb
2 changed files with 634 additions and 618 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -102,6 +102,12 @@ mod loop_expression {
1;
}
}
fn break_with_return() -> i64 {
loop {
break return 1;
}
}
}
fn test_nested_function(n: i64) -> i64 {