blob: ac06e02778f0dd8a5fa949f1f72a1376fbac502c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// skip-filecheck
// We must mark a variable whose initialization fails due to an
// abort statement as StorageDead.
// EMIT_MIR issue_49232.main.built.after.mir
fn main() {
loop {
let beacon = {
match true {
false => 4,
true => break,
}
};
drop(&beacon);
}
}
|