1/* Test gcov block mode. */ 2 3/* { dg-options "-fprofile-arcs -ftest-coverage" } */ 4/* { dg-do run { target native } } */ 5 6int main () 7{ 8 unsigned ix, jx = 0; 9 10 for (ix = 10; ix--;) if (ix & 1) jx++; /* count(11) */ 11 12 return jx != 5; 13} 14 15/* { dg-final { run-gcov { -a gcov-10.c } } } */ 16