blob: 800476910047dd54a17627e6cdca1f96417ab0d5 [file] [log] [blame]
// PR c++/66092
// { dg-do compile { target c++20 } }
template <typename T, typename U, typename... Args>
concept Similar = true;
template <typename... Args>
requires Similar<Args...> // { dg-error "pack expansion" }
void foo( Args... args ) {}
int main()
{
foo(1, 2, 3); // { dg-error "" }
}