https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115343
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
MSVC rejects the code:
<source>(15): error C2385: ambiguous access of 'tag1'
<source>(15): note: could be the 'tag1' in base 'foo'
<source>(15): note: or could be the 'tag1' in base 'bar'
So does EDG:
"<source>", line 15: error: "foobar::tag1" is ambiguous
foobar::tag1 _;
^
1 error detected in the compilation of "<source>".
Which makes this me 99% sure this is a clang issue.