blob: b8ca91647920d6754b6c01b3c5808da8f27d63c5 [file] [log] [blame]
// { dg-do compile { target c++2a } }
template<typename T>
concept Fooable = requires(T t) { foo(t); };
template<Fooable T>
void foo(T t) { }
void test()
{
foo(0); // { dg-error "unsatisfied constraints" }
}