Chris Lattner | 51123fe | 2009-04-17 17:46:19 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -triple x86_64-apple-darwin9 -emit-llvm -o - %s && |
2 | // RUN: clang-cc -triple i386-apple-darwin9 -emit-llvm -o - %s | ||||
3 | |||||
4 | // rdar://6800926 | ||||
5 | @interface ITF { | ||||
6 | @public | ||||
7 | unsigned field :1 ; | ||||
8 | _Bool boolfield :1 ; | ||||
9 | } | ||||
10 | @end | ||||
11 | |||||
12 | void foo(ITF *P) { | ||||
13 | P->boolfield = 1; | ||||
14 | } |