| Current Path : /usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/cbindgen/tests/rust/ |
| Current File : //usr/local/src/clamav-1.0.9/libclamav_rust/.cargo/vendor/cbindgen/tests/rust/union_self.rs |
#[repr(C)]
pub struct Foo<T> {
something: *const i32,
phantom: std::marker::PhantomData<T>,
}
#[repr(C)]
pub union Bar {
something: i32,
subexpressions: Foo<Self>,
}
#[no_mangle]
pub extern "C" fn root(b: Bar) {}