1 // ignore-wasm32-bare compiled with panic=abort by default
3 // check that we don't emit multiple drop flags when they are not needed.
6 // EMIT_MIR issue_41110.main.ElaborateDrops.after.mir
8 let x = S.other(S.id());
11 // no_mangle to make sure this gets instantiated even in an executable.
13 // EMIT_MIR issue_41110.test.ElaborateDrops.after.mir
28 fn id(self) -> Self { self }
29 fn other(self, s: Self) {}