Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenObjC/objc2-no-write-barrier.m @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
line wrap: on
line source
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s // RUN: not grep 'objc_assign' %t // RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s // RUN: not grep 'objc_assign' %t typedef struct { int ival; id submenu; } XCBinderContextMenuItem; id actionMenuForDataNode(void) { XCBinderContextMenuItem menusToCreate[] = { {1, 0} }; return 0; } XCBinderContextMenuItem GmenusToCreate[] = { {1, 0} };