// PR c++/66092 // { dg-do compile { target c++20 } } template concept Similar = true; template requires Similar // { dg-error "pack expansion" } void foo( Args... args ) {} int main() { foo(1, 2, 3); // { dg-error "" } }