This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/44692] Ambiguous member names in anonymous struct/union does not error
- From: "mark-gcc at pogo dot org dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2010 18:22:06 -0000
- Subject: [Bug c/44692] Ambiguous member names in anonymous struct/union does not error
- References: <bug-44692-19375@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from mark-gcc at pogo dot org dot uk 2010-06-27 18:22 -------
Created an attachment (id=21018)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21018&action=view)
Example program
Source code, compile and test with:
gcc -Wall anon.c && ./a.out
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44692