3 // Check that when a `let`-binding occurs in a loop, its associated
4 // drop-flag is reinitialized (to indicate "needs-drop" at the end of
5 // the owning variable's scope).
7 struct A<'a>(&'a mut i32);
9 impl<'a> Drop for A<'a> {
19 if i == 1 { // Note that
20 break; // both this break
22 drop(a); // this move of `a`
23 // are necessary to expose the bug