summaryrefslogtreecommitdiff
path: root/05/main.c
blob: 5d4b282de2a8b818043983bfb4e3e37bdec50bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*typedef struct {
	int i[41];
	long double d;
} (*x)(void);

/* typedef enum X { */
/* 	R,S,T */
/*  } *Foo[sizeof(unsigned long)]; */
/* typedef int A[T]; */
/*  */
/* typedef struct A { */
/* 	int x, y; */
/* 	long double c; */
/* 	unsigned long d; */
/* 	char e[3]; */
/* 	long f; */
/* } A; */
/*  */
/* typedef union B{ */
/* 	int x; */
/* 	struct { */
/* 		int y; */
/* 		struct {long z; } c; */
/* 	} c; */
/* }B; */
/*  */
/* typedef int x[sizeof(A)+sizeof"hello"]; */
/* typedef int y[sizeof(struct B)]; */

static unsigned int x;
static unsigned int y;
static unsigned int z[1000];
static unsigned int w;

/*
NOTE: THIS MUST WORK
int x[] = {1,2,3}
sizeof x
*/