Skip to content

Commit 9ce2043

Browse files
authored
Update p23.cpp
1 parent 1ac52d5 commit 9ce2043

File tree

1 file changed

+1
-1
lines changed
  • clang/test/CXX/expr/expr.prim/expr.prim.lambda

1 file changed

+1
-1
lines changed

clang/test/CXX/expr/expr.prim/expr.prim.lambda/p23.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ template void init_capture_pack_multi(int, int); // expected-note {{instantiatio
9292

9393
template<typename ...Args>
9494
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}}
95+
print([as(args)] { return sizeof(as); } () ...);
9696
}
9797
template void init_capture_pack_outer();
9898
template void init_capture_pack_outer(int);

0 commit comments

Comments
 (0)