(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.misc-tests/
gcov-16.c
       1  /* { dg-options "-fprofile-arcs -ftest-coverage" } */
       2  /* { dg-do run { target native } } */
       3  
       4  void
       5  bar (void)
       6  {}
       7  
       8  void
       9  foo (int i)
      10  {
      11    if (i > 1)  /* count(1) */
      12      return;   /* count(#####) */
      13  
      14    bar ();      /* count(1) */
      15  }
      16  
      17  int
      18  main (void)
      19  {
      20    foo (0);
      21    return 0;
      22  }
      23  
      24  /* { dg-final { run-gcov gcov-16.c } } */