21 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s2// RUN: not grep 'objc_assign' %t3// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s4// RUN: not grep 'objc_assign' %t5 6typedef struct {7 int ival;8 id submenu;9} XCBinderContextMenuItem;10 11id actionMenuForDataNode(void) {12 XCBinderContextMenuItem menusToCreate[] = {13 {1, 0}14 };15 return 0;16}17 18XCBinderContextMenuItem GmenusToCreate[] = {19 {1, 0}20};21