1 // Checks that we correctly codegen extern "C" functions returning structs.
4 // compile-flags: -O --target=sparc64-unknown-linux-gnu --crate-type=rlib
5 // needs-llvm-components: sparc
6 #![feature(no_core, lang_items)]
21 // CHECK: define i64 @structbool()
23 // CHECK-NEXT: ret i64 72057594037927936
25 pub extern "C" fn structbool() -> Bool {