// PR c++/103341 // { dg-do compile { target c++20 } } template concept same_as = __is_same(T, U); template struct A { static inline same_as auto value = 0; // { dg-error "constraint" } }; template struct A; // { dg-bogus "" } template struct A; // { dg-message "required from here" }