[Bug c++/7876] g++ doesn't diagnose One Reference Rule violation
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 19:25:00 GMT 2008
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-16 19:21 -------
This has been fixed since 4.3.0:
t.cc:7: error: declaration of 'typedef struct X<int> A::X'
t.cc:2: error: changes meaning of 'X' from 'struct X<int>'
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7876
More information about the Gcc-bugs
mailing list