]> git.lizzy.rs Git - rust.git/blob - tests/codegen/fatptr.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[rust.git] / tests / codegen / fatptr.rs
1 // compile-flags: -C no-prepopulate-passes
2
3 #![crate_type = "lib"]
4
5 pub trait T {}
6
7 // CHECK-LABEL: @copy_fat_ptr
8 #[no_mangle]
9 pub fn copy_fat_ptr(x: &T) {
10 // CHECK-NOT: extractvalue
11     let x2 = x;
12 }