summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/const-init-cxx11.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-02 03:22:38 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-02 03:22:38 +0000
commit0524171a57e6f9f6ee79c02ed4e20c5914d8b2db (patch)
tree1bbdf8e3d33641108b2a802d05e785e823d4d7db /test/CodeGenCXX/const-init-cxx11.cpp
parenta3cac5b76a5243d8fca812d3a276950b0cfc56b6 (diff)
Fix buildbot: make this test less dependent on the value names in the produced IR.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/const-init-cxx11.cpp')
-rw-r--r--test/CodeGenCXX/const-init-cxx11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/const-init-cxx11.cpp b/test/CodeGenCXX/const-init-cxx11.cpp
index 776a1e12dd..e2a11c295f 100644
--- a/test/CodeGenCXX/const-init-cxx11.cpp
+++ b/test/CodeGenCXX/const-init-cxx11.cpp
@@ -345,8 +345,8 @@ namespace Unreferenced {
// We must not emit a load of 'p' here, since it's not odr-used.
int q = *p;
// CHECK-NOT: _ZN12Unreferenced1pE
- // CHECK: %0 = load i32* @_ZN12Unreferenced1nE
- // CHECK-NEXT: store i32 %0, i32* @_ZN12Unreferenced1qE
+ // CHECK: = load i32* @_ZN12Unreferenced1nE
+ // CHECK-NEXT: store i32 {{.*}}, i32* @_ZN12Unreferenced1qE
// CHECK-NOT: _ZN12Unreferenced1pE
// Technically, we are not required to substitute variables of reference types