diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-12-30 21:11:30 +0100 |
|---|---|---|
| committer | nils <48135649+Nilstrieb@users.noreply.github.com> | 2023-01-17 16:23:22 +0100 |
| commit | f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6 (patch) | |
| tree | 4b0add72699a923fde3a2c7801330403a369c6ca /tests/codegen/static-relocation-model-msvc.rs | |
| parent | af23ad93cd3309e90ccb2c49b7a7b2ac913e0d06 (diff) | |
| download | rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.tar.gz rust-f1255380ac1cb7be1b6b0ac0eda5b1274b29eff6.zip | |
Add more codegen tests
Diffstat (limited to 'tests/codegen/static-relocation-model-msvc.rs')
| -rw-r--r-- | tests/codegen/static-relocation-model-msvc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codegen/static-relocation-model-msvc.rs b/tests/codegen/static-relocation-model-msvc.rs index b2afc7deb67..735ef7081c9 100644 --- a/tests/codegen/static-relocation-model-msvc.rs +++ b/tests/codegen/static-relocation-model-msvc.rs @@ -15,8 +15,8 @@ extern crate extern_decl; // it to be marked `dso_local` as well, given the static relocation model. // // CHECK: @extern_static = external dso_local local_unnamed_addr global i8 -// CHECK: define dso_local i8 @access_extern() {{.*}} -// CHECK: declare dso_local i8 @extern_fn() {{.*}} +// CHECK: define dso_local noundef i8 @access_extern() {{.*}} +// CHECK: declare dso_local noundef i8 @extern_fn() {{.*}} #[no_mangle] pub fn access_extern() -> u8 { |
