John McCall | 260611a | 2012-06-20 06:18:46 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s |
Fariborz Jahanian | 14674ff | 2009-05-27 19:54:11 +0000 | [diff] [blame] | 2 | // RUN: grep 'objc_assign' %t | count 0 |
John McCall | 260611a | 2012-06-20 06:18:46 +0000 | [diff] [blame] | 3 | // 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 Jahanian | 27b7aa0 | 2010-05-20 18:22:28 +0000 | [diff] [blame] | 4 | // RUN: grep 'objc_assign' %t | count 0 |
Fariborz Jahanian | 14674ff | 2009-05-27 19:54:11 +0000 | [diff] [blame] | 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 | }; |