/* Test visibility is copied */ /* { dg-options "-fprofile-arcs" } */ /* { dg-require-visibility "" } */ /* { dg-require-weak "" } */ void __attribute__ ((visibility ("hidden"), weak)) Foo () { } /* { dg-final { scan-assembler "\\.hidden\t__gcov__Foo" { target { ! *-*-darwin* } } } } */ /* { dg-final { scan-assembler "\\.private_extern ___gcov__Foo" { target *-*-darwin* } } } */