Mercurial > hg > CbC > CbC_llvm
annotate clang/test/PCH/struct.h @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // Used with the struct.c test |
2 | |
3 struct Point { | |
4 float x, y, z; | |
5 }; | |
6 | |
7 struct Point2 { | |
8 float xValue, yValue, zValue; | |
9 }; | |
10 | |
11 struct Fun; | |
12 | |
13 struct Fun *fun; | |
14 | |
15 struct Fun { | |
16 int is_ptr : 1; | |
17 | |
18 union { | |
19 void *ptr; | |
20 int *integer; | |
21 }; | |
22 }; | |
23 | |
24 struct Fun2; | |
25 struct Fun2 *fun2; | |
26 | |
27 struct S { | |
28 struct Nested { int x, y; } nest; | |
29 }; |