------- Comment #1 from pinskia at gcc dot gnu dot org 2010-06-03 15:32 ------- There was a defect report in the C++ standard about X::X; I cannot remember what happens with a member variable being named the same as the class name though.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44401