
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
11 lines
186 B
Rust
11 lines
186 B
Rust
//@ run-pass
|
|
|
|
#[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() {}
|