bool-convert.c revision f8fd82ba49827db0f6a6ba00c55a7b56b12a19fa
1// RUN: %clang_cc1 -emit-llvm < %s | grep i1 | count 1
2// 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)[];
7void f(int x) {
8  _Bool test5;
9  _Bool test6[x];
10}
11