blob: 4df81bb82d7c15cb0a3e2924a7c48fd879dd1117 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -emit-llvm < %s | grep i1 | count 1
Eli Friedman57a84fb2009-03-03 04:48:01 +00002// All of these should uses the memory representation of _Bool
3struct teststruct1 {_Bool a, b;} test1;
4_Bool* test2;
5_Bool test3[10];
6_Bool (*test4)[];
Eli Friedmana3460ac2009-03-04 04:25:14 +00007void f(int x) {
8 _Bool test5;
9 _Bool test6[x];
10}