1 /* Test gcov weak ellision. */
3 /* { dg-do run { target native } } */
4 /* { dg-require-weak "" } */
5 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
7 int __attribute__ ((weak
)) weak ()
9 return 0; /* count(1) */
14 return weak (); /* count(1) */
17 /* { dg-final { run-gcov { -a gcov-12.c } } } */