mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-06-09 01:29:33 +00:00
1 line
514 B
C++
Executable File
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");
|
|
}
|