Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / darwin-bool-1.c
blobfe4b72615c380edb3f2de16424ef050e3365242c
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* } } */
4 /* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
6 int dummy1[sizeof(_Bool) - 3];
7 int dummy2[5 - sizeof(_Bool)];
9 int main()
11 return sizeof(_Bool) == 4 ? 0 : 1;