diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-10-24 20:28:18 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-10-24 20:28:18 +0000 |
commit | 9dd686d2be3c3785a089ff12a3d3eb64e9b32dc0 (patch) | |
tree | 8068e9fb4e7d41536901bfb3ac5768acb815bcf1 /test/Parser/cxx0x-lambda-expressions.cpp | |
parent | a45451d0959501c7d82582c61571a29cfdacdb0b (diff) |
Update regression tests for r166617.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx0x-lambda-expressions.cpp')
-rw-r--r-- | test/Parser/cxx0x-lambda-expressions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx0x-lambda-expressions.cpp b/test/Parser/cxx0x-lambda-expressions.cpp index 82b26534a1..642c69a532 100644 --- a/test/Parser/cxx0x-lambda-expressions.cpp +++ b/test/Parser/cxx0x-lambda-expressions.cpp @@ -34,7 +34,7 @@ class C { typedef int T; const int b = 0; const int c = 1; - int a1[1] = {[b] (T()) {}}; // expected-error{{no viable conversion from 'C::<lambda}} + int a1[1] = {[b] (T()) {}}; // expected-error{{no viable conversion from '<lambda}} int a2[1] = {[b] = 1 }; int a3[1] = {[b,c] = 1 }; // expected-error{{expected body of lambda expression}} int a4[1] = {[&b] = 1 }; // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const int *'}} |