PR tree-optimization/51356
[official-gcc.git] / gcc / testsuite / gcc.misc-tests / gcov-16.c
blob478f44a367d5f53c63c1ea53e8147a53e20db3b1
1 /* Test visibility is copied */
3 /* { dg-options "-fprofile-arcs -fvisibility=hidden" } */
4 /* { dg-require-visibility "" } */
5 /* { dg-require-weak "" } */
7 void Foo ()
11 /* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" { target { ! *-*-darwin* } } } } */
12 /* { dg-final { scan-assembler "\\.private_extern ___gcov__Foo" { target *-*-darwin* } } } */