1 /* Test gcov weak ellision. */
3 /* { dg-options "-fprofile-arcs -ftest-coverage" } */
4 /* { dg-require-weak "" } */
5 /* { dg-do run { target native } } */
6 /* { dg-additional-sources "gcovpart-13b.c" } */
7 /* { dg-skip-if "weak ellision not supported" { { hppa*-*-hpux* } && { ! lp64 } } { "*" } { "" } } */
9 int __attribute__ ((weak
)) weak ()
11 return 1; /* count(-) { xfail *-*-* } */
16 return weak (); /* count(1) */
19 /* { dg-final { run-gcov { -a gcov-13.c } { xfail *-*-* } } } */
20 /* { dg-final { run-gcov { -a gcovpart-13b.c } } } */