You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
319 B
30 lines
319 B
// 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;
|
|
};
|