1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s 2 // RUN: grep 'objc_assign' %t | count 0 3 // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-gc -emit-llvm -o %t %s 4 // RUN: grep 'objc_assign' %t | count 0 5 6 typedef struct { 7 int ival; 8 id submenu; 9 } XCBinderContextMenuItem; 10 11 id actionMenuForDataNode(void) { 12 XCBinderContextMenuItem menusToCreate[] = { 13 {1, 0} 14 }; 15 return 0; 16 } 17 18 XCBinderContextMenuItem GmenusToCreate[] = { 19 {1, 0} 20 }; 21