blob: 2ffdd4aea5864752a1eed65893477077fb68dc07 [file] [log] [blame]
Douglas Gregor8c700062009-04-13 21:20:57 +00001// Used with the struct.c test
2
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 {
Douglas Gregor0b748912009-04-14 21:18:50 +000016 int is_ptr : 1;
Douglas Gregor8c700062009-04-13 21:20:57 +000017
18 union {
19 void *ptr;
20 int *integer;
21 };
22};
23
24struct Fun2;
25struct Fun2 *fun2;
Douglas Gregor2417ef72009-04-14 17:10:28 +000026
27struct S {
28 struct Nested { int x, y; } nest;
29};