https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |4.8.1 Known to work| |4.4.7, 4.6.4, 4.7.4 Target Milestone|--- |9.5 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The error message is: <source>: In function 'E f()': <source>:9:16: error: 'E' is not a class type return &E::A; ^