r213992 - clang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp: Appease -Asserts build.

NAKAMURA Takumi geek4civic at gmail.com
Fri Jul 25 17:28:09 PDT 2014


Author: chapuni
Date: Fri Jul 25 19:28:09 2014
New Revision: 213992

URL: http://llvm.org/viewvc/llvm-project?rev=213992&view=rev
Log:
clang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp: Appease -Asserts build.

Modified:
    cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp

Modified: cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp?rev=213992&r1=213991&r2=213992&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp Fri Jul 25 19:28:09 2014
@@ -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.
 }
 





More information about the cfe-commits mailing list