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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [pr22061-3.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
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.