aboutsummaryrefslogtreecommitdiff
path: root/test/PCH/struct.h
blob: e3d85abaaeb5150c2995e8e6375a5f1a1862fd1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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;

  union {
    void *ptr;
    int  *integer;
  };
};

struct Fun2;
struct Fun2 *fun2;