OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [darwin-bool-1.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* 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
 
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.