OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr38615.c
1
/* { 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
}