Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1 |
Eli Friedman | 57a84fb | 2009-03-03 04:48:01 +0000 | [diff] [blame] | 2 | // All of these should uses the memory representation of _Bool |
3 | struct teststruct1 {_Bool a, b;} test1; | ||||
4 | _Bool* test2; | ||||
5 | _Bool test3[10]; | ||||
6 | _Bool (*test4)[]; | ||||
Eli Friedman | a3460ac | 2009-03-04 04:25:14 +0000 | [diff] [blame] | 7 | void f(int x) { |
8 | _Bool test5; | ||||
9 | _Bool test6[x]; | ||||
10 | } |