about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2016-10-21 18:29:25 -0400
committerMichael Woerister <michaelwoerister@posteo.net>2016-10-21 18:29:25 -0400
commite46c1ad9c94fcc75d62805a9b0f17333b67e99c1 (patch)
tree4d91a65722689cbd76ac4bdd9163289a56664626 /src/test/codegen
parente6aa92c4325e3da9a698010bb88e3cdb240ce142 (diff)
downloadrust-e46c1ad9c94fcc75d62805a9b0f17333b67e99c1.tar.gz
rust-e46c1ad9c94fcc75d62805a9b0f17333b67e99c1.zip
Adapt codegen test to new naming scheme for generated symbols.
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/consts.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/codegen/consts.rs b/src/test/codegen/consts.rs
index 36a582ca737..33b4221b733 100644
--- a/src/test/codegen/consts.rs
+++ b/src/test/codegen/consts.rs
@@ -19,12 +19,12 @@
 // 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)]