diff --git a/clang/test/CXX/drs/dr18xx.cpp b/clang/test/CXX/drs/dr18xx.cpp --- a/clang/test/CXX/drs/dr18xx.cpp +++ b/clang/test/CXX/drs/dr18xx.cpp @@ -50,6 +50,15 @@ #endif } +namespace dr1822 { // dr1822: yes +#if __cplusplus >= 201103L + int a; + auto x = [] (int a) { +#pragma clang __debug dump a // CHECK: ParmVarDecl + }; +#endif +} + namespace dr1872 { // dr1872: 9 #if __cplusplus >= 201103L template struct A : T { diff --git a/clang/www/cxx_dr_status.html b/clang/www/cxx_dr_status.html --- a/clang/www/cxx_dr_status.html +++ b/clang/www/cxx_dr_status.html @@ -10739,7 +10739,7 @@ 1822 CD6 Lookup of parameter names in lambda-expressions - Unknown + Yes 1823