[cfe-commits] r150493 - /cfe/trunk/test/PCH/cxx11-lambdas.cpp

Douglas Gregor dgregor at apple.com
Tue Feb 14 10:47:13 PST 2012


Author: dgregor
Date: Tue Feb 14 12:47:12 2012
New Revision: 150493

URL: http://llvm.org/viewvc/llvm-project?rev=150493&view=rev
Log:
Simplify and robustify lambda PCH test

Modified:
    cfe/trunk/test/PCH/cxx11-lambdas.cpp

Modified: cfe/trunk/test/PCH/cxx11-lambdas.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/cxx11-lambdas.cpp?rev=150493&r1=150492&r2=150493&view=diff
==============================================================================
--- cfe/trunk/test/PCH/cxx11-lambdas.cpp (original)
+++ cfe/trunk/test/PCH/cxx11-lambdas.cpp Tue Feb 14 12:47:12 2012
@@ -28,12 +28,10 @@
 }
 #else
 
-// CHECK-PRINT: float add_slowly
+// CHECK-PRINT: T add_slowly
 // CHECK-PRINT: return [=, &y]
 template float add_slowly(const float&, const float&);
 
-// CHECK-PRINT: int add_slowly
-// CHECK-PRINT: return [=, &y]
 int add(int x, int y) {
   return add_int_slowly_twice(x, y) + sum_array(4);
 }





More information about the cfe-commits mailing list