summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-9.c
blob: 6e1b4a85c0c507195bbdf9a8c370a95c53fe548f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Test gcov block mode.  */

/* { dg-options "-fprofile-arcs -ftest-coverage" } */
/* { dg-do run { target native } } */

int main ()
{
  unsigned ix;
  
  for (ix = 10; ix--;); /* count(11) */

  return 0;
}

/* { dg-final { run-gcov { -a gcov-9.c } } } */