diff --git a/tests/crashes/101962.rs b/tests/crashes/101962.rs deleted file mode 100644 index b6a78ce053af0..0000000000000 --- a/tests/crashes/101962.rs +++ /dev/null @@ -1,11 +0,0 @@ -//@ known-bug: #101962 - -#![feature(core_intrinsics)] - -pub fn wrapping(a: T, b: T) { - let _z = core::intrinsics::wrapping_mul(a, b); -} - -fn main() { - wrapping(1,2); -} diff --git a/tests/crashes/79409.rs b/tests/crashes/79409.rs index 98b5f60633627..b5466f55b7d76 100644 --- a/tests/crashes/79409.rs +++ b/tests/crashes/79409.rs @@ -1,4 +1,6 @@ //@ known-bug: #79409 +//@ compile-flags: -Z mir-opt-level=0 +// (Only fails if the use of the place isn't optimized out) #![feature(extern_types)] #![feature(unsized_locals)]