Debian Codegraph @

gcc/testsuite/gcc.misc-tests/gcov-27.c

raw
1 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
2 /* { dg-do run { target native } } */
3
4 /* If only --exclude is used, other functions should be used by default. */
5
6 int
7 fn1 (int x)
8 {
9 /* fst */
10 return x;
11 }
12
13 int
14 fn2 (int x)
15 {
16 /* snd */
17 return x * 2;
18 }
19
20 int
21 main ()
22 {}
23
24 /* { dg-final { run-gcov { filters { fst snd } { main } } { --exclude=main gcov-27.c } } } */