13 lines
159 B
Rust
13 lines
159 B
Rust
#[repr(C)]
|
|
struct Foo<'a> {
|
|
x: &'a str,
|
|
}
|
|
|
|
const BAR: &'static str = "";
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn root(
|
|
a: Foo<'static>,
|
|
b: &'static str
|
|
) { }
|