Skip to content

Commit e46c1ad

Browse files
Adapt codegen test to new naming scheme for generated symbols.
1 parent e6aa92c commit e46c1ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/codegen/consts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
// CHECK: @STATIC = {{.*}}, align 4
2020

2121
// This checks the constants from inline_enum_const
22-
// CHECK: @ref{{[0-9]+}} = {{.*}}, align 2
22+
// CHECK: @ref.{{[0-9]+}} = {{.*}}, align 2
2323

2424
// This checks the constants from {low,high}_align_const, they share the same
2525
// constant, but the alignment differs, so the higher one should be used
26-
// CHECK: [[LOW_HIGH:@ref[0-9]+]] = {{.*}}, align 4
27-
// CHECK: [[LOW_HIGH_REF:@const[0-9]+]] = {{.*}} [[LOW_HIGH]]
26+
// CHECK: [[LOW_HIGH:@ref.[0-9]+]] = {{.*}}, align 4
27+
// CHECK: [[LOW_HIGH_REF:@const.[0-9]+]] = {{.*}} [[LOW_HIGH]]
2828

2929
#[derive(Copy, Clone)]
3030

0 commit comments

Comments
 (0)