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