// { dg-do compile { target c++2a } } template struct remove_reference { using type = T; }; template using remove_reference_t = remove_reference::type; template inline constexpr bool blah = false; template requires blah> // { dg-message "typename remove_reference::type" "" { target *-*-* } .-1 } void foo() { } void bar() { foo (); } // { dg-error "no match" }