This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51034] New: invalid typeof usage
- From: "etienne.bergeron at octasic dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Nov 2011 17:09:41 +0000
- Subject: [Bug c/51034] New: invalid typeof usage
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51034
Bug #: 51034
Summary: invalid typeof usage
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: etienne.bergeron@octasic.com
This code should not compile:
struct S;
int main()
{
struct S
{
typeof( ((struct S){}) ) x;
} s;
}