blob: d439368cc60853daca4709dc81dc0317e9f31edc [file] [log] [blame]
John McCalld1e40d52011-10-02 01:16:38 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian14674ff2009-05-27 19:54:11 +00002// RUN: grep 'objc_assign' %t | count 0
John McCalld1e40d52011-10-02 01:16:38 +00003// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian27b7aa02010-05-20 18:22:28 +00004// RUN: grep 'objc_assign' %t | count 0
Fariborz Jahanian14674ff2009-05-27 19:54:11 +00005
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};