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/] [20010114-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
/* Origin: PR c/1540 from Mattias Lampe <lampe@tu-harburg.de>,
2
   adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
3
   GCC 2.95.2 fails, CVS GCC of 2001-01-13 passes.  */
4
extern void abort (void);
5
extern void exit (int);
6
 
7
int
8
main (void)
9
{
10
  int array1[1] = { 1 };
11
  int array2[2][1]= { { 1 }, { 0 } };
12
  if (array1[0] != 1)
13
    abort ();
14
  exit (0);
15
}

powered by: WebSVN 2.1.0

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