Mercurial > hg > CbC > CbC_llvm
annotate clang/test/CodeGenObjC/objc2-no-write-barrier.m @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s |
2 // RUN: not grep 'objc_assign' %t | |
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 | |
4 // RUN: not grep 'objc_assign' %t | |
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 }; |