diff options
Diffstat (limited to '')
-rw-r--r-- | tests/rust/char.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rust/char.rs b/tests/rust/char.rs new file mode 100644 index 0000000..258e50f --- /dev/null +++ b/tests/rust/char.rs @@ -0,0 +1,7 @@ +#[repr(C)] +struct Foo { + a: char, +} + +#[no_mangle] +pub extern "C" fn root(a: Foo) {} |