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: [email protected]
ReportedBy: [email protected]
This code should not compile:
struct S;
int main()
{
struct S
{
typeof( ((struct S){}) ) x;
} s;
}
