cbindgen/tests/rust/exclude_generic_monomorph.rs
2020-04-01 11:45:53 +02:00

11 lines
148 B
Rust

#[repr(transparent)]
pub struct Foo(NonZeroU64);
#[repr(C)]
pub struct Bar {
foo: Option<Foo>,
}
#[no_mangle]
pub extern "C" fn root(f: Bar) {}