// { dg-do compile { target c++20 } } template concept Fooable = requires(T t) { foo(t); }; template void foo(T t) { } void test() { foo(0); // { dg-error "no match" } }