[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / darwin-bool-1.c
blobf444edff2950b665696c1161e46c93bc8e33c318
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* && ilp32 } } } */
4 /* We do need to suppress the ISO C doesn't support _Bool message tho. */
5 /* { dg-options "-Wno-pedantic" } */
7 int dummy1[sizeof(_Bool) - 3];
8 int dummy2[5 - sizeof(_Bool)];
10 int main()
12 return sizeof(_Bool) == 4 ? 0 : 1;