https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111247
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-08-30 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC 7 and before used to also provide: ``` <source>:7:23: error: invalid use of incomplete type 'class Incomplete' <source>:2:7: note: forward declaration of 'class Incomplete' class Incomplete; ^~~~~~~~~~ ``` Confirmed.