OSDN Git Service

* gcc.dg/weak/typeof-2.c: Needs aliases as well as weak.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / darwin-bool-1.c
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
5 int dummy1[sizeof(_Bool) - 3];
6 int dummy2[5 - sizeof(_Bool)];
7
8 int main()
9 {
10   return sizeof(_Bool) == 4 ? 0 : 1;
11 }