]> git.lizzy.rs Git - rust.git/commitdiff
Adapt codegen test to new naming scheme for generated symbols.
authorMichael Woerister <michaelwoerister@posteo.net>
Fri, 21 Oct 2016 22:29:25 +0000 (18:29 -0400)
committerMichael Woerister <michaelwoerister@posteo.net>
Fri, 21 Oct 2016 22:29:25 +0000 (18:29 -0400)
src/test/codegen/consts.rs

index 36a582ca73709bb35b3e9ad14ecd96ab9743ef1b..33b4221b73338b454f993ab62a4f1a3c8f2f23e7 100644 (file)
 // CHECK: @STATIC = {{.*}}, align 4
 
 // This checks the constants from inline_enum_const
-// CHECK: @ref{{[0-9]+}} = {{.*}}, align 2
+// CHECK: @ref.{{[0-9]+}} = {{.*}}, 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:@ref[0-9]+]] = {{.*}}, align 4
-// CHECK: [[LOW_HIGH_REF:@const[0-9]+]] = {{.*}} [[LOW_HIGH]]
+// CHECK: [[LOW_HIGH:@ref.[0-9]+]] = {{.*}}, align 4
+// CHECK: [[LOW_HIGH_REF:@const.[0-9]+]] = {{.*}} [[LOW_HIGH]]
 
 #[derive(Copy, Clone)]