PR lto/84212 - -Wno-* does not disable warnings from -flto link stage
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-10.c
blobbd1d418f378a9cc9482b581205416fa2bd80c313
1 /* Test gcov block mode. */
3 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
4 /* { dg-do run { target native } } */
6 int main ()
8 unsigned ix, jx = 0;
10 for (ix = 10; ix--;) if (ix & 1) jx++; /* count(11) */
12 return jx != 5;
15 /* { dg-final { run-gcov { -a gcov-10.c } } } */