blob: b76f98ad110414915df6d8235d90642aad0b415d [file] [log] [blame]
use std::marker::PhantomData;
union Opaque {
x: i32,
y: f32,
}
#[repr(C)]
union Normal {
x: i32,
y: f32,
}
#[repr(C)]
union NormalWithZST {
x: i32,
y: f32,
z: (),
w: PhantomData<i32>,
}
#[no_mangle]
pub extern "C" fn root(
a: *mut Opaque,
b: Normal,
c: NormalWithZST
) { }