f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
29 lines
319 B
C
29 lines
319 B
C
// Used with the struct.c test
|
|
|
|
struct Point {
|
|
float x, y, z;
|
|
};
|
|
|
|
struct Point2 {
|
|
float xValue, yValue, zValue;
|
|
};
|
|
|
|
struct Fun;
|
|
|
|
struct Fun *fun;
|
|
|
|
struct Fun {
|
|
int is_ptr : 1;
|
|
|
|
union {
|
|
void *ptr;
|
|
int *integer;
|
|
};
|
|
};
|
|
|
|
struct Fun2;
|
|
struct Fun2 *fun2;
|
|
|
|
struct S {
|
|
struct Nested { int x, y; } nest;
|
|
};
|