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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr22061-3.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 688 jeremybenn
void
2
bar (int N)
3
{
4
  int foo (char a[2][++N]) { N += 4; return sizeof (a[0]); }
5
  if (foo (0) != 2)
6
    abort ();
7
  if (foo (0) != 7)
8
    abort ();
9
  if (N != 11)
10
    abort ();
11
}
12
 
13
int
14
main()
15
{
16
  bar (1);
17
  exit (0);
18
}

powered by: WebSVN 2.1.0

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