1 /* { dg-options "-fprofile-generate -ftest-coverage -lgcov" } */
2 /* { dg-do run { target native } } */
6 extern "C" { void __gcov_dump(void); }
8 int main(int argc, char **argv)
10 value = 123; /* count(1) */
12 for (unsigned i = 0; i < 100; i++)
13 value += argc; /* count(100) */
17 for (unsigned i = 0; i < 1000; i++) /* count(#####) */
20 return 0; /* count(#####) */
23 /* { dg-final { run-gcov gcov-dump-1.C } } */