summary refs log tree commit diff
path: root/src/test/codegen/issue-47278.rs
blob: 590e8ea8502902c2099d491f43e137b43e772e47 (plain)
1
2
3
4
5
6
7
8
9
// -C no-prepopulate-passes
#![crate_type="staticlib"]

#[repr(C)]
pub struct Foo(u64);

// CHECK: define {{.*}} @foo(
#[no_mangle]
pub extern fn foo(_: Foo) -> Foo { loop {} }