1// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s 2// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s 3// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o - %s 4 5@interface ITF { 6@public 7 unsigned field :1 ; 8 _Bool boolfield :1 ; 9} 10@end 11 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@end 25 26@implementation R 27@end 28