1 // RUN: c-index-test core -print-source-symbols -- %s -target x86_64-apple-macosx10.7 | FileCheck %s 2 3 struct MyStruct { 4 int myfield; 5 }; 6 7 enum { 8 MyValToSet 9 }; 10 11 // CHECK: [[@LINE+1]]:14 | struct/C | MyStruct | 12 const struct MyStruct _MyStruct[] 13 [16] 14 [3] 15 [3] 16 [2] 17 [2] = { 18 [0] = { 19 [0] = { 20 [0] = { 21 [0][0] = { 22 [0] = { 23 // CHECK: [[@LINE+2]]:14 | field/C | myfield | {{.*}} | Ref,RelCont | 24 // CHECK: [[@LINE+1]]:24 | enumerator/C | MyValToSet | 25 .myfield = MyValToSet, 26 // CHECK-NOT: | field/C | myfield | 27 // CHECK-NOT: | enumerator/C | MyValToSet | 28 }, 29 }, 30 }, 31 }, 32 }, 33 }; 34