ZeroTierOne/zeroidc/vendor/cbindgen/tests/rust/mangle.rs

11 lines
124 B
Rust

#[repr(C)]
pub struct Foo<T> {
a: T,
}
pub type Boo = Foo<u8>;
#[no_mangle]
pub extern "C" fn root(
x: Boo,
) { }