ORCA-C/Tests/Conformance/C4.4.2.1.CC
2017-10-01 17:47:47 -06:00

1 line
514 B
C++
Executable File

/* 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");
}