diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-09 08:26:42 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-09 08:26:42 +0000 |
commit | b326ca8ffbea96f9cc8a457b0f57be880304a6f5 (patch) | |
tree | 88d0757c9105ab4be5c68f44046cab11caa0ffd8 /test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp | |
parent | 7e545d95bc92157f9f124d95aa2ed66d691d2028 (diff) |
Remove the "unsupported" error for lambda expressions. It's annoying,
and rapidly becoming untrue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp')
-rw-r--r-- | test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp b/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp index 605265b80a..c4deba9c97 100644 --- a/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp +++ b/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp @@ -6,7 +6,7 @@ class NonCopyable { 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 {}; } |