struct.h 319 B

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