mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +00:00
13 lines
219 B
Rust
13 lines
219 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
#[repr(C)]
|
|
pub struct Foo(u32);
|
|
|
|
// ICE trigger, bad handling of differing types between rust and external ABIs
|
|
pub extern "C" fn bar() -> Foo {
|
|
Foo(0)
|
|
}
|
|
|
|
fn main() {}
|