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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr38615.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do run } */
2
 
3
int t;
4
extern void abort (void);
5
 
6
int f(int t, const int *a)
7
{
8
 const int b[] = { 1, 2, 3};
9
 if (!t)
10
   return f(1, b);
11
 return b == a;
12
}
13
 
14
int main(void)
15
{
16
 if (f(0, 0))
17
   abort ();
18
 return 0;
19
}

powered by: WebSVN 2.1.0

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