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
2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
inline-28.c
blob
20916aef992b7d5644fd26f425a4849d4d878196
1
/* PR c/36507 */
2
/* { dg-do run } */
3
/* { dg-options "-O0 -std=gnu89" } */
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
}