Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-2.c
blobaa3e4b74e9025bf95ed1ccecdd8f734d5153582b
1 /* Test Gcov basics. */
3 /* { dg-options "-fprofile-arcs -ftest-coverage -g" } */
4 /* { dg-do run { target native } } */
6 void noop ()
10 int main ()
12 int i;
14 for (i = 0; i < 10; i++) /* count(11) */
15 noop (); /* count(10) */
17 return 0; /* count(1) */
20 int a_variable = 0;
22 /* { dg-final { run-gcov gcov-2.c } } */