2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-12.c
blobf3d6924c9803eaca2dbf5da65b28feba696bf62f
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) */
12 int main ()
14 return weak (); /* count(1) */
17 /* { dg-final { run-gcov { -a gcov-12.c } } } */