https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90550
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Last reconfirmed|2019-05-20 00:00:00 | Target Milestone|--- |11.0 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 11: <source>: In instantiation of 'void f() [with <template-parameter-1-1> = int]': <source>:9:10: required from here <source>:5:15: error: 'f<int>()::S::a b' has incomplete type 5 | struct S::a b; | ^ Compiler returned: 1