https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101733
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2021-08-02 00:00:00 |2022-10-18 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- template<class T> requires requires { typename T::type; (typename T::type()); // (1) T::type(); // (2) typename T::type(); // (3) } void f(T) { } All compilers accept (1) and (2) but only Clang accepts (3)