https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106233
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|11.5 |12.0 Known to work| |12.0 Known to fail| |11.5.0 Status|NEW |RESOLVED Keywords|ice-on-valid-code |ice-on-invalid-code Resolution|--- |FIXED --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- t.ii: In function ‘int main()’: t.ii:12:3: error: ‘Base::i’ is not a direct member of ‘Derived’ 12 | }; | ^