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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
inline-29.c
blob
77672f34295ad3ee8faa01a75554ed3339cd8690
1
/* PR c/36507 */
2
/* { dg-do run } */
3
/* { dg-options "-O0 -std=gnu99" } */
4
5
int
6
main
(
void
)
7
{
8
int
i
=
2
;
9
auto inline
int
f1
(
void
)
10
{
11
return
i
;
12
}
13
inline
int
f2
(
void
)
14
{
15
return
i
;
16
}
17
auto inline
int
f3
(
void
);
18
auto inline
int
f3
(
void
)
19
{
20
return
i
;
21
}
22
auto inline
int
f4
(
void
);
23
inline
int
f4
(
void
)
24
{
25
return
i
;
26
}
27
return
f1
() +
f2
() +
f3
() +
f4
() -
8
;
28
}