Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / gcc.dg / darwin-bool-1.c
blobef1e98b6ef25cce0871bc27a72fe738d3a28be06
1 /* Check that sizeof(bool) is 4 if we don't use special options. */
2 /* Matt Austern <austern@apple.com> */
3 /* { dg-do run { target powerpc*-*-darwin* } } */
5 int dummy1[sizeof(_Bool) - 3];
6 int dummy2[5 - sizeof(_Bool)];
8 int main()
10 return sizeof(_Bool) == 4 ? 0 : 1;