1 /* Check that call return percentages are reported correctly by gcov,
2 along with line counts and branch percentages. This test case is
3 meant to be simple, as it was added at the same time that checking
4 for call return percentages was added. */
6 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
7 /* { dg-do run { target native } } */
15 if (i < 0) /* count(5) */
18 exit (0); /* count(1) */
20 val += i; /* count(4) */
29 foo (100); /* count(1) */
31 for (i = 2; i > -10; i--)
33 foo (i); /* count(4) */
37 /* { dg-final { run-gcov -b gcov-6.c } } */