http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 
02:56:10 UTC ---
I think the code should be rejected.  Here is what Comeau online says:
"ComeauTest.c", line 14: error: ambiguous class member reference -- type
"b::foo"
          (declared at line 4) used in preference to type "a::foo" (declared
          at line 10)

Reply via email to