diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/codegen/auxiliary/extern_decl.rs | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/codegen/auxiliary/extern_decl.rs')
-rw-r--r-- | src/test/codegen/auxiliary/extern_decl.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/codegen/auxiliary/extern_decl.rs b/src/test/codegen/auxiliary/extern_decl.rs deleted file mode 100644 index edc483518..000000000 --- a/src/test/codegen/auxiliary/extern_decl.rs +++ /dev/null @@ -1,11 +0,0 @@ -// Auxiliary crate that exports a function and static. Both always -// evaluate to `71`. We force mutability on the static to prevent -// it from being inlined as constant. - -#![crate_type = "lib"] - -#[no_mangle] -pub fn extern_fn() -> u8 { unsafe { extern_static } } - -#[no_mangle] -pub static mut extern_static: u8 = 71; |