// PR c++/95486 // { dg-do compile { target c++20 } } template concept Int = __is_same (T, int); template struct X { X(U) requires Int {} }; template X(U) -> X; template using Y = X; Y y{1}; Y z{'a'}; // { dg-error "failed|no match" }