1/* Check that sizeof(bool) is 1 if we use the -mone-byte-bool option. */
2/* Matt Austern  <austern@apple.com> */
3/* { dg-do run { target powerpc*-*-darwin* } } */
4/* { dg-options "-mone-byte-bool" } */
5
6int dummy1[sizeof(_Bool)];
7int dummy2[2 - sizeof(_Bool)];
8
9int main()
10{
11  return sizeof(_Bool) == 1 ? 0 : 1;
12}
13