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
40
41
42
#if 0
DEF DEFINED = 1
DEF NOT_DEFINED = 0
#endif
#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#if defined(NOT_DEFINED)
#define DEFAULT_X 8
#endif
#if defined(DEFINED)
#define DEFAULT_X 42
#endif
#if (defined(NOT_DEFINED) || defined(DEFINED))
typedef struct {
int32_t x;
} Foo;
#endif
#if defined(NOT_DEFINED)
typedef struct {
Foo y;
} Bar;
#endif
#if defined(DEFINED)
typedef struct {
Foo z;
} Bar;
#endif
typedef struct {
Bar w;
} Root;
void root(Root a);