mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-08-21 18:29:02 +00:00
20 lines
514 B
C++
20 lines
514 B
C++
/* Conformance Test 4.4.2.1: Ensure compile accepts missing declarators */
|
|
|
|
struct {int a; /* can't use it, but it's legal */
|
|
float x;};
|
|
|
|
int ; /* nothing declared, but it's legal */
|
|
|
|
static enum E {a, b, c}; /* storage class ignored */
|
|
|
|
main ()
|
|
{
|
|
struct {double d;
|
|
short s;};
|
|
extended;
|
|
extern union U {int i;
|
|
long l;};
|
|
|
|
printf ("Passed Conformance Test 4.4.2.1\n");
|
|
}
|