| 1 | |
|---|---|
| 2 | #ifndef TARGETED_TOP_H |
| 3 | #define TARGETED_TOP_H |
| 4 | |
| 5 | #include "targeted-nested1.h" |
| 6 | |
| 7 | enum { |
| 8 | VALUE = 3 |
| 9 | }; |
| 10 | |
| 11 | extern int TopVar; |
| 12 | |
| 13 | typedef struct { |
| 14 | int x; |
| 15 | int y; |
| 16 | #include "targeted-fields.h" |
| 17 | } Vector; |
| 18 | |
| 19 | static inline int vector_get_x(Vector v) { |
| 20 | int x = v.x; |
| 21 | return x; |
| 22 | } |
| 23 | |
| 24 | #endif |
| 25 |