diff options
Diffstat (limited to 'tests/codegen/mir_zst_stores.rs')
| -rw-r--r-- | tests/codegen/mir_zst_stores.rs | 19 | 
1 files changed, 0 insertions, 19 deletions
| diff --git a/tests/codegen/mir_zst_stores.rs b/tests/codegen/mir_zst_stores.rs deleted file mode 100644 index ff1d429cffd..00000000000 --- a/tests/codegen/mir_zst_stores.rs +++ /dev/null @@ -1,19 +0,0 @@ -//@ compile-flags: -C no-prepopulate-passes - -#![crate_type = "lib"] -use std::marker::PhantomData; - -#[derive(Copy, Clone)] -struct Zst { - phantom: PhantomData<Zst>, -} - -// CHECK-LABEL: @mir -// CHECK-NOT: store{{.*}}undef -#[no_mangle] -pub fn mir() { - let x = Zst { phantom: PhantomData }; - let y = (x, 0); - drop(y); - drop((0, x)); -} | 
