Skip to content

Commit e6ec625

Browse files
authored
Update init-capture.cpp
1 parent 9ce2043 commit e6ec625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CXX/temp/temp.decls/temp.variadic/init-capture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ template<typename ...T> void f(T ...t) {
2828
// OK, capture only one 'slice' of 'x'.
2929
weird((void)[&x = t] {
3030
return &x;
31-
}... // expected-error {{pack expansion does not contain any unexpanded parameter packs}}
31+
}...
3232
);
3333

3434
// 'x' is not expanded by the outer '...', but 'T' is.

0 commit comments

Comments
 (0)