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)
llvm-svn: 213992

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

index 75c54df..8c0b8c2 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.
 }