]> granicus.if.org Git - clang/commitdiff
Make this test a bit stricter.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 5 Jan 2015 18:48:18 +0000 (18:48 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 5 Jan 2015 18:48:18 +0000 (18:48 +0000)
The first function is named __cxx_global_var_init, which is a substring of
the following functions @__cxx_global_var_init(1,2,3,etc).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@225191 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/static-member-variable-explicit-specialization.cpp

index 430fa2b08d5d82e537a33b41feec0db954cc5457..20b409cbf996fb5d7f6cc2a9b7c89e0db6e6a11b 100644 (file)
@@ -76,37 +76,37 @@ template<typename T> int Internal<T>::a = foo();
 }
 int *use_internal_a = &Internal<int>::a;
 
-// ALL: define internal void @[[unordered1]]
+// ALL: define internal void @[[unordered1]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_ZN1AIsE1aE
 // ALL: ret
 
-// ALL: define internal void @[[unordered2]]
+// ALL: define internal void @[[unordered2]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_Z1xIsE
 // ALL: ret
 
-// ALL: define internal void @[[unordered3]]
+// ALL: define internal void @[[unordered3]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_ZN2ns1aIiE1iE
 // ALL: ret
 
-// ALL: define internal void @[[unordered4]]
+// ALL: define internal void @[[unordered4]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_ZN2ns1b1iIiEE
 // ALL: ret
 
-// ALL: define internal void @[[unordered5]]
+// ALL: define internal void @[[unordered5]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_ZN1AIvE1aE
 // ALL: ret
 
-// ALL: define internal void @[[unordered6]]
+// ALL: define internal void @[[unordered6]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_Z1xIcE
 // ALL: ret
 
-// ALL: define internal void @[[unordered7]]
+// ALL: define internal void @[[unordered7]](
 // ALL: call i32 @foo()
 // ALL: store {{.*}} @_ZN12_GLOBAL__N_18InternalIiE1aE
 // ALL: ret