------- Comment #10 from geoffk at gcc dot gnu dot org 2006-06-21 20:44 ------- Hi Andrew, I'm not sure what diagnostic you're talking about. If you violate the ODR and define myclass in a different TU, with a different definition for myclass::foo, you will typically get no diagnostic; just inconsistent behaviour.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25915