diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2012-09-20 01:40:23 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2012-09-20 01:40:23 +0000 |
commit | 7c3c6bca2662704fbe038137d8ef2e4112359586 (patch) | |
tree | 07c2b1475ed6bb58925ab81c1743d2b8f502634c /test/SemaCXX/lambda-expressions.cpp | |
parent | d6f80daa84164ceeb8900da07f43b6a150edf713 (diff) |
Handle lambdas where the lambda-declarator is an explicit "(void)". PR13854.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/lambda-expressions.cpp')
-rw-r--r-- | test/SemaCXX/lambda-expressions.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/SemaCXX/lambda-expressions.cpp b/test/SemaCXX/lambda-expressions.cpp index 0a95680478..babe743c65 100644 --- a/test/SemaCXX/lambda-expressions.cpp +++ b/test/SemaCXX/lambda-expressions.cpp @@ -229,3 +229,7 @@ namespace PR13860 { static_assert(sizeof(y), ""); } } + +namespace PR13854 { + auto l = [](void){}; +} |