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
PR tree-optimization/82929
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.misc-tests
/
gcov-16.c
blob
738113c92cb801610cac484179aec6906a579463
1
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
2
/* { dg-do run { target native } } */
3
4
void
5
bar
(
void
)
6
{}
7
8
void
9
foo
(
int
i
)
10
{
11
if
(
i
>
1
)
/* count(1) */
12
return
;
/* count(#####) */
13
14
bar
();
/* count(1) */
15
}
16
17
int
18
main
(
void
)
19
{
20
foo
(
0
);
21
return
0
;
22
}
23
24
/* { dg-final { run-gcov gcov-16.c } } */