[Bug c/51034] New: invalid typeof usage
etienne.bergeron at octasic dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 8 17:11:00 GMT 2011
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;
}
More information about the Gcc-bugs
mailing list