diff options
Diffstat (limited to 'src/test/codegen/auxiliary')
-rw-r--r-- | src/test/codegen/auxiliary/nounwind.rs | 3 | ||||
-rw-r--r-- | src/test/codegen/auxiliary/thread_local_aux.rs | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/test/codegen/auxiliary/nounwind.rs b/src/test/codegen/auxiliary/nounwind.rs new file mode 100644 index 000000000..73c5aee33 --- /dev/null +++ b/src/test/codegen/auxiliary/nounwind.rs @@ -0,0 +1,3 @@ +#[no_mangle] +pub fn bar() { +} diff --git a/src/test/codegen/auxiliary/thread_local_aux.rs b/src/test/codegen/auxiliary/thread_local_aux.rs new file mode 100644 index 000000000..bebaa7754 --- /dev/null +++ b/src/test/codegen/auxiliary/thread_local_aux.rs @@ -0,0 +1,5 @@ +#![crate_type = "lib"] + +use std::cell::Cell; + +thread_local!(pub static A: Cell<u64> = const { Cell::new(0) }); |