blob: 658f375e055d53841e024d8e23cfa46a053d350a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* { dg-options "-fprofile-arcs -ftest-coverage" } */
/* { dg-do run { target native } } */
/* Filters are considered in order with latest-wins, so if a function is
included and later excluded it should not show up. */
int
fn1 (int x)
{
/* fst */
return x;
}
int
fn2 (int x)
{
/* snd */
return x * 2;
}
int
main ()
{}
/* { dg-final { run-gcov { filters { snd } { fst main } } { --include=fn --exclude=1 gcov-25.c } } } */
|