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 | be20d43232114d2d38e23af75843f380a4c1c3dc (patch) | |
tree | e319d12d1de4307e00cdb0189a5dddacec3b16f3 /clang/test/Parser/cxx0x-lambda-expressions.cpp | |
parent | 48ea80f9ff86cd7d6aa70cb1d03579c0c87b828b (diff) | |
download | llvm-be20d43232114d2d38e23af75843f380a4c1c3dc.zip llvm-be20d43232114d2d38e23af75843f380a4c1c3dc.tar.gz llvm-be20d43232114d2d38e23af75843f380a4c1c3dc.tar.bz2 |
Update regression tests for r166617.
llvm-svn: 166619
Diffstat (limited to 'clang/test/Parser/cxx0x-lambda-expressions.cpp')
-rw-r--r-- | clang/test/Parser/cxx0x-lambda-expressions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Parser/cxx0x-lambda-expressions.cpp b/clang/test/Parser/cxx0x-lambda-expressions.cpp index 82b2653..642c69a 100644 --- a/clang/test/Parser/cxx0x-lambda-expressions.cpp +++ b/clang/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 *'}} |