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.dg/] [pr38615.c] - Blame information for rev 315

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

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