2012-06-20 14:18:46 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s
|
2013-07-04 23:22:16 +08:00
|
|
|
// RUN: not grep 'objc_assign' %t
|
2012-06-20 14:18:46 +08:00
|
|
|
// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s
|
2013-07-04 23:22:16 +08:00
|
|
|
// RUN: not grep 'objc_assign' %t
|
2009-05-28 03:54:11 +08:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int ival;
|
|
|
|
id submenu;
|
|
|
|
} XCBinderContextMenuItem;
|
|
|
|
|
|
|
|
id actionMenuForDataNode(void) {
|
|
|
|
XCBinderContextMenuItem menusToCreate[] = {
|
|
|
|
{1, 0}
|
|
|
|
};
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
XCBinderContextMenuItem GmenusToCreate[] = {
|
|
|
|
{1, 0}
|
|
|
|
};
|