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