Home | History | Annotate | Download | only in ASTMerge

Lines Matching full:struct1

1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/struct1.c
5 // CHECK: struct1.c:13:8: warning: type 'struct S1' has incompatible definitions in different translation units
6 // CHECK: struct1.c:15:7: note: field 'field2' has type 'int' here
9 // CHECK: struct1.c:18:11: note: declared here with type 'struct S1'
10 // CHECK: struct1.c:21:8: warning: type 'struct S2' has incompatible definitions in different translation units
13 // CHECK: struct1.c:21:31: note: declared here with type 'struct S2'
14 // CHECK: struct1.c:24:8: warning: type 'struct S3' has incompatible definitions in different translation units
15 // CHECK: struct1.c:24:36: note: field 'd' has type 'double' here
18 // CHECK: struct1.c:24:41: note: declared here with type 'struct S3'
19 // CHECK: struct1.c:27:8: warning: type 'struct S4' has incompatible definitions in different translation units
21 // CHECK: struct1.c:27:8: note: no corresponding field here
23 // CHECK: struct1.c:27:22: note: declared here with type 'struct S4'
24 // CHECK: struct1.c:33:8: warning: type 'struct S6' has incompatible definitions in different translation units
25 // CHECK: struct1.c:33:33: note: bit-field 'j' with type 'unsigned int' and length 8 here
28 // CHECK: struct1.c:33:42: note: declared here with type 'struct S6'
29 // CHECK: struct1.c:36:8: warning: type 'struct S7' has incompatible definitions in different translation units
30 // CHECK: struct1.c:36:33: note: bit-field 'j' with type 'unsigned int' and length 8 here
33 // CHECK: struct1.c:36:42: note: declared here with type 'struct S7'
34 // CHECK: struct1.c:56:10: warning: type 'struct DeeperError' has incompatible definitions in different translation units
35 // CHECK: struct1.c:56:35: note: field 'f' has type 'int' here
37 // CHECK: struct1.c:54:8: warning: type 'struct DeepError' has incompatible definitions in different translation units
38 // CHECK: struct1.c:56:41: note: field 'Deeper' has type 'struct DeeperError *' here
41 // CHECK: struct1.c:57:3: note: declared here with type 'struct DeepError'