diff options
Diffstat (limited to 'tests/rust/constant_sort_none.rs')
-rw-r--r-- | tests/rust/constant_sort_none.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/rust/constant_sort_none.rs b/tests/rust/constant_sort_none.rs new file mode 100644 index 0000000..96c1185 --- /dev/null +++ b/tests/rust/constant_sort_none.rs @@ -0,0 +1,7 @@ +pub const B: u8 = 0; +pub const A: u8 = 0; + +#[no_mangle] +pub static D: u8 = 0; +#[no_mangle] +pub static C: u8 = 0; |