28 lines · plain
1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s2// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s3// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o - %s4 5@interface ITF {6@public7 unsigned field :1 ;8 _Bool boolfield :1 ;9}10@end11 12void foo(ITF *P) {13 P->boolfield = 1;14}15 16@interface R {17 struct {18 union {19 int x;20 char c;21 };22 } _union;23}24@end25 26@implementation R27@end28