Mercurial > hg > CbC > CbC_llvm
comparison clang/test/PCH/struct.h @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
147:c2174574ed3a | 150:1d019706d866 |
---|---|
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 }; |