1 #[repr(C)] 2 pub struct Foo<T> { 3 a: T, 4 } 5 6 pub type Boo = Foo<u8>; 7 8 #[no_mangle] root( x: Boo, )9 pub extern "C" fn root( 10 x: Boo, 11 ) { } 12