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