• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
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};
21