PR tree-optimization/82929
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-16.c
blob738113c92cb801610cac484179aec6906a579463
1 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
2 /* { dg-do run { target native } } */
4 void
5 bar (void)
6 {}
8 void
9 foo (int i)
11 if (i > 1) /* count(1) */
12 return; /* count(#####) */
14 bar (); /* count(1) */
17 int
18 main (void)
20 foo (0);
21 return 0;
24 /* { dg-final { run-gcov gcov-16.c } } */