blob: 1ff237ac3826b6a2c447e1e7f7037e2d34132e02 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PR c++/107417
// { dg-do compile { target c++20 } }
template<class... T>
void f() requires (requires (T x) { true; } && ...);
int main() {
f<int>();
f<int, void>(); // { dg-error "no match" }
}
|