diff options
Diffstat (limited to 'tests/rust/item_types_renamed.rs')
-rw-r--r-- | tests/rust/item_types_renamed.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/rust/item_types_renamed.rs b/tests/rust/item_types_renamed.rs new file mode 100644 index 0000000..b54b0ef --- /dev/null +++ b/tests/rust/item_types_renamed.rs @@ -0,0 +1,12 @@ + +pub const MY_CONST: u8 = 4; + +#[no_mangle] +pub extern "C" fn ExternFunction() { +} + +#[repr(u8)] +pub enum OnlyThisShouldBeGenerated { + Foo, + Bar, +} |