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 9ce2043 commit e6ec625Copy full SHA for e6ec625
clang/test/CXX/temp/temp.decls/temp.variadic/init-capture.cpp
@@ -28,7 +28,7 @@ template<typename ...T> void f(T ...t) {
28
// OK, capture only one 'slice' of 'x'.
29
weird((void)[&x = t] {
30
return &x;
31
- }... // expected-error {{pack expansion does not contain any unexpanded parameter packs}}
+ }...
32
);
33
34
// 'x' is not expanded by the outer '...', but 'T' is.
0 commit comments