Remove the "unsupported" error for lambda expressions. It's annoying,
and rapidly becoming untrue.
llvm-svn: 150165
diff --git a/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp b/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp
index 605265b..c4deba9 100644
--- a/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp
+++ b/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp
@@ -6,7 +6,7 @@
void capture_by_ref(NonCopyable nc, NonCopyable &ncr) {
int array[3];
- (void)[&nc] () -> void {}; // expected-error{{lambda expressions are not supported yet}}
- (void)[&ncr] () -> void {}; // expected-error{{lambda expressions are not supported yet}}
- (void)[&array] () -> void {}; // expected-error{{lambda expressions are not supported yet}}
+ (void)[&nc] () -> void {};
+ (void)[&ncr] () -> void {};
+ (void)[&array] () -> void {};
}