https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83003
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mpolacek at gcc dot gnu.org Resolution|--- |FIXED --- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> --- This is now rejected: $ xg++ -c 83003.C 83003.C: In substitution of ‘template<class T> using Zod_t = typename Zod::type [with T = int]’: 83003.C:15:10: required from here 83003.C:10:26: error: no type named ‘type’ in ‘struct Zod<int>’ 10 | template <class T> using Zod_t = typename Zod<T>::type; | ^~~~~ So fixed in r270433.