aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/PCH/cxx11-lambdas.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/PCH/cxx11-lambdas.cpp b/test/PCH/cxx11-lambdas.cpp
index d5ae4cac52..cc17099f01 100644
--- a/test/PCH/cxx11-lambdas.cpp
+++ b/test/PCH/cxx11-lambdas.cpp
@@ -28,12 +28,10 @@ inline int sum_array(int n) {
}
#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);
}