blob: ece6b9d582b7d0122cbf2997da91c491d200a689 [file] [log] [blame]
John McCall260611a2012-06-20 06:18:46 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian14674ff2009-05-27 19:54:11 +00002// RUN: grep 'objc_assign' %t | count 0
John McCall260611a2012-06-20 06:18:46 +00003// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -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};