tests: Add a test for #708
This commit is contained in:
@@ -5,7 +5,15 @@ pub struct Foo<T> {
|
||||
|
||||
pub type Boo = Foo<u8>;
|
||||
|
||||
/// cbindgen:prefix-with-name=true
|
||||
#[repr(C)]
|
||||
pub enum Bar {
|
||||
Some,
|
||||
Thing,
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn root(
|
||||
x: Boo,
|
||||
y: Bar,
|
||||
) { }
|
||||
|
||||
Reference in New Issue
Block a user