]> granicus.if.org Git - clang/commitdiff
clang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp: Appease -Asserts build.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jul 2014 00:28:09 +0000 (00:28 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 26 Jul 2014 00:28:09 +0000 (00:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213992 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/cxx1y-variable-template-linkage.cpp

index 75c54df8f054e1ff282f50d83df39af9efa725e8..8c0b8c22096dfc9e8cc7d53a4e0b0317af46b9c3 100644 (file)
@@ -21,7 +21,7 @@ static int &foo() {
 #if !__has_feature(cxx_exceptions) // File A
 // CHECKA-DAG: define dereferenceable(4) i32* @_Z3barv(
 int &bar() { 
-       // CHECKA-DAG: %call = call dereferenceable(4) i32* @_ZL3foov()
+       // CHECKA-DAG: call dereferenceable(4) i32* @_ZL3foov()
        return foo();
 }
 
@@ -31,8 +31,8 @@ int &bar() {
 int &bar();
 
 int main() {
-       // CHECKB-DAG: %call = call dereferenceable(4) i32* @_Z3barv()
-       // CHECKB-DAG: %call1 = call dereferenceable(4) i32* @_ZL3foov()
+       // CHECKB-DAG: call dereferenceable(4) i32* @_Z3barv()
+       // CHECKB-DAG: call dereferenceable(4) i32* @_ZL3foov()
        &bar() == &foo() ? throw 0 : (void)0; // Should not throw exception at runtime.
 }