repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr18963-1.c
blob
df43c6543f78c8b9a4c33fbd4bee52eee0bbc90f
1
/* { dg-do run } */
2
/* { dg-options "" } */
3
4
static int
barf
();
5
6
int
foo
()
7
{
8
auto
int
barf
();
9
int
j
=
4
;
10
11
int
barf
() {
12
return
j
;
13
}
14
15
return
barf
();
16
}
17
18
static int
barf
() {
19
return
3
;
20
}
21
22
extern
void
exit
(
int
);
23
extern
void
abort
();
24
25
int
main
(
int
argc
,
char
*
argv
[]) {
26
if
(
foo
() !=
4
)
27
abort
();
28
exit
(
0
);
29
}