// { dg-do compile { target c++20 } } template constexpr bool is_int = false; template<> constexpr bool is_int = true; template concept Int = is_int; int main() { auto x = [](T t) { return 42; }; auto y = x(42); auto z = x(""); // { dg-error "no match" } return z; }