Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Index / Core / designated-inits.c
blob10f48c68915fe4d8f49cf797e22db175c37da179
1 // XFAIL: target={{.*}}-aix{{.*}}
2 // RUN: c-index-test core -print-source-symbols -- %s -target x86_64-apple-macosx10.7 | FileCheck %s
4 struct MyStruct {
5 int myfield;
6 };
8 enum {
9 MyValToSet
12 // CHECK: [[@LINE+1]]:14 | struct/C | MyStruct |
13 const struct MyStruct _MyStruct[]
14 [16]
15 [3]
16 [3]
17 [2]
18 [2] = {
19 [0] = {
20 [0] = {
21 [0] = {
22 [0][0] = {
23 [0] = {
24 // CHECK: [[@LINE+2]]:14 | field/C | myfield | {{.*}} | Ref,RelCont |
25 // CHECK: [[@LINE+1]]:24 | enumerator/C | MyValToSet |
26 .myfield = MyValToSet,
27 // CHECK-NOT: | field/C | myfield |
28 // CHECK-NOT: | enumerator/C | MyValToSet |