2022-01-19 22:23:29 -05:00
|
|
|
/*typedef struct {
|
2022-01-19 11:57:42 -05:00
|
|
|
int i[41];
|
|
|
|
long double d;
|
|
|
|
} (*x)(void);
|
2022-01-26 18:00:47 -05:00
|
|
|
|
|
|
|
/* typedef enum X { */
|
|
|
|
/* R,S,T */
|
|
|
|
/* } *Foo[sizeof(unsigned long)]; */
|
|
|
|
/* typedef int A[T]; */
|
2022-01-28 15:07:23 -05:00
|
|
|
/* */
|
|
|
|
/* 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)]; */
|
2022-02-02 14:07:08 -05:00
|
|
|
/* */
|
2022-02-02 15:12:28 -05:00
|
|
|
/* static unsigned int x={55}; */
|
|
|
|
/* static char *s = "hello"; */
|
|
|
|
/* static char *t = "goodbye"; */
|
|
|
|
/* static char u[8] = "hellothe"; */
|
|
|
|
/* static char v[100] = "re my"; */
|
|
|
|
/* static char w[] = "friendly"; */
|
|
|
|
/* static char x_[] = "hi"; */
|
|
|
|
/* typedef int A[sizeof x_ + sizeof u]; */
|
|
|
|
/* */
|
|
|
|
/* static int a[5] = {1,2,3}; */
|
|
|
|
/* static char b[6][7] = {{'a'},{'b'},{'c'},{'d'},{'e'}}; */
|
|
|
|
/* static char __b[][7] = {{'a'},"hello",'r'}; */
|
|
|
|
/* static int _u = sizeof __b; */
|
2022-02-02 09:49:56 -05:00
|
|
|
|
2022-02-02 15:12:28 -05:00
|
|
|
/* struct { */
|
|
|
|
/* int a; */
|
|
|
|
/* long b; */
|
|
|
|
/* } x1[] = {0x1234567890, 1ul<<60|1ul<<3, 77}; */
|
|
|
|
/* int y1 = 0x12345678; */
|
|
|
|
typedef int R[sizeof "hi" / sizeof "hi"[0]];
|
2022-02-02 14:07:08 -05:00
|
|
|
|
2022-02-02 15:12:28 -05:00
|
|
|
/* struct { */
|
|
|
|
/* int x[2], y; */
|
|
|
|
/* } test = {3, 5}; */
|
|
|
|
/* unsigned marker = 0xdeadbeef; */
|