You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template voidf(); // #instantiate-f expected-note@99 {{in instantiation of function template specialization 'GH85667::f<void>' requested here}}
101
+
template voidf(); // #instantiate-f
100
102
101
103
} // namespace GH85667
102
104
@@ -119,8 +121,7 @@ int Cartesian1(auto x, auto y) {
119
121
intCartesian2(auto x, auto y) {
120
122
returnapply(
121
123
[&](auto... xs) {
122
-
return (apply([zs = xs](auto... ys) { return (ys + ...); }, y) + ...); // expected-error@109 {{cannot initialize return object of type 'int' with an rvalue of type 'void'}}
123
-
// expected-note@120 {{in instantiation of function template specialization 'GH99877::apply}}
0 commit comments