1 | // Used with the struct.c test |
---|---|
2 | |
3 | struct Point { |
4 | float x, y, z; |
5 | }; |
6 | |
7 | struct Point2 { |
8 | float xValue, yValue, zValue; |
9 | }; |
10 | |
11 | struct Fun; |
12 | |
13 | struct Fun *fun; |
14 | |
15 | struct Fun { |
16 | int is_ptr : 1; |
17 | |
18 | union { |
19 | void *ptr; |
20 | int *integer; |
21 | }; |
22 | }; |
23 | |
24 | struct Fun2; |
25 | struct Fun2 *fun2; |
26 | |
27 | struct S { |
28 | struct Nested { int x, y; } nest; |
29 | }; |
30 |