ORCA-C/Tests/Conformance/C4.4.2.1.CC

25 lines
667 B
Plaintext
Raw Normal View History

/* Conformance Test 4.4.2.1: Ensure compile accepts missing declarators */
int printf(const char *, ...);
extern struct S; /* forward-declared struct type, */
/* storage class ignored */
struct S {int a;
float x;};
struct S;
static enum E {a, b, c}; /* storage class ignored */
extern enum {x, y, z};
int main (void)
{
struct S; /* different from the global one */
volatile const register struct T;
extern union U {int i;
long l;};
printf ("Passed Conformance Test 4.4.2.1\n");
}