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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20001203-1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* Origin: PR c/410 from Jan Echternach
2
   <jan.echternach@informatik.uni-rostock.de>,
3
   adapted to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
4
*/
5
 
6
extern void exit (int);
7
 
8
static void
9
foo (void)
10
{
11
  struct {
12
    long a;
13
    char b[1];
14
  } x = { 2, { 0 } };
15
}
16
 
17
int
18
main (void)
19
{
20
  int tmp;
21
  foo ();
22
  tmp = 1;
23
  exit (0);
24
}

powered by: WebSVN 2.1.0

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