1 // RUN: clang-cc -fsyntax-only -verify %s
14 typedef struct S1 { int x; } S1_typedef;
16 (void)((struct S2 { int x; }*)0); // expected-error{{can not be defined}}
18 struct S3 { int x; } s3;
20 (void)static_cast<struct S4 { int x; } *>(0); // expected-error{{can not be defined}}
23 struct S5 { int x; } f1() { return S5(); } // expected-error{{result type}}
25 void f2(struct S6 { int x; } p); // expected-error{{parameter type}}