blob: d204cd3c72b100695d776551b925a45a64573e27 (
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
excluded and later included it should show up. */
int
fn1 (int x)
{
/* fst */
return x;
}
int
fn2 (int x)
{
/* snd */
return x * 2;
}
int
main ()
{}
/* { dg-final { run-gcov { filters { fst snd } { main } } { --exclude=1 --include=fn gcov-26.c } } } */
|