diff options
| author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-02-25 10:27:57 +0100 |
|---|---|---|
| committer | John Kåre Alsaker <john.kare.alsaker@gmail.com> | 2023-02-25 21:43:25 +0100 |
| commit | b897b2d65c0aa600d1e60bc3d7a7f83e22b380f9 (patch) | |
| tree | 08454b72023df77ec8d759c528f6df0351dc9668 | |
| parent | a913a2bca96b9aab0634d29045a2b5e2094a259e (diff) | |
| download | rust-b897b2d65c0aa600d1e60bc3d7a7f83e22b380f9.tar.gz rust-b897b2d65c0aa600d1e60bc3d7a7f83e22b380f9.zip | |
Update tests
| -rw-r--r-- | tests/codegen/consts.rs | 4 | ||||
| -rw-r--r-- | tests/codegen/remap_path_prefix/main.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/consts.rs b/tests/codegen/consts.rs index d0418d11142..dd22fd0f7e8 100644 --- a/tests/codegen/consts.rs +++ b/tests/codegen/consts.rs @@ -9,11 +9,11 @@ // CHECK: @STATIC = {{.*}}, align 4 // This checks the constants from inline_enum_const -// CHECK: @alloc12 = {{.*}}, align 2 +// CHECK: @alloc_76bfe2f13a3e3b01074971d122eac57e = {{.*}}, align 2 // This checks the constants from {low,high}_align_const, they share the same // constant, but the alignment differs, so the higher one should be used -// CHECK: [[LOW_HIGH:@alloc[0-9]+]] = {{.*}}, align 4 +// CHECK: [[LOW_HIGH:@alloc_[a-f0-9]+]] = {{.*}}, align 4 #[derive(Copy, Clone)] // repr(i16) is required for the {low,high}_align_const test diff --git a/tests/codegen/remap_path_prefix/main.rs b/tests/codegen/remap_path_prefix/main.rs index 78ebbccfce1..6c0cd6997d0 100644 --- a/tests/codegen/remap_path_prefix/main.rs +++ b/tests/codegen/remap_path_prefix/main.rs @@ -12,7 +12,7 @@ mod aux_mod; include!("aux_mod.rs"); // Here we check that the expansion of the file!() macro is mapped. -// CHECK: @alloc2 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }> +// CHECK: @alloc_92a59126a55aa3c0019b6c8a007fe001 = private unnamed_addr constant <{ [34 x i8] }> <{ [34 x i8] c"/the/src/remap_path_prefix/main.rs" }> pub static FILE_PATH: &'static str = file!(); fn main() { |
