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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20040331-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR c++/14755 */
2
extern void abort (void);
3
extern void exit (int);
4
 
5
int
6
main (void)
7
{
8
#if __INT_MAX__ >= 2147483647
9
  struct { int count: 31; } s = { 0 };
10
  while (s.count--)
11
    abort ();
12
#elif __INT_MAX__ >= 32767
13
  struct { int count: 15; } s = { 0 };
14
  while (s.count--)
15
    abort ();
16
#else
17
  /* Don't bother because __INT_MAX__ is too small.  */
18
#endif
19
  exit (0);
20
}

powered by: WebSVN 2.1.0

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