We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ac52d5 commit 9ce2043Copy full SHA for 9ce2043
clang/test/CXX/expr/expr.prim/expr.prim.lambda/p23.cpp
@@ -92,7 +92,7 @@ template void init_capture_pack_multi(int, int); // expected-note {{instantiatio
92
93
template<typename ...Args>
94
void init_capture_pack_outer(Args ...args) {
95
- print([as(args)] { return sizeof(as); } () ...); // expected-error{{pack expansion does not contain any unexpanded parameter packs}}
+ print([as(args)] { return sizeof(as); } () ...);
96
}
97
template void init_capture_pack_outer();
98
template void init_capture_pack_outer(int);
0 commit comments