#[repr(C)] pub struct Foo { something: *const i32, phantom: std::marker::PhantomData, } #[repr(C)] pub union Bar { something: i32, subexpressions: Foo, } #[no_mangle] pub extern "C" fn root(b: Bar) {}