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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [darwin-bool-1.c] - Blame information for rev 820

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

Line No. Rev Author Line
1 149 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* } } */
4
/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
5
 
6
int dummy1[sizeof(_Bool) - 3];
7
int dummy2[5 - sizeof(_Bool)];
8
 
9
int main()
10
{
11
  return sizeof(_Bool) == 4 ? 0 : 1;
12
}

powered by: WebSVN 2.1.0

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