brintos

brintos / llvm-project-archived public Read only

0
0
Text · 572 B · 16593f1 Raw
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