1 // unit-test: ConstProp
2 // compile-flags: -Zmir-opt-level=1
4 trait NeedsDrop: Sized {
5 const NEEDS: bool = std::mem::needs_drop::<Self>();
8 impl<This> NeedsDrop for This {}
10 // EMIT_MIR control_flow_simplification.hello.ConstProp.diff
11 // EMIT_MIR control_flow_simplification.hello.PreCodegen.before.mir