blob: 9ec74471f03d1818f22aacc5d6255a0f7fea90b4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* Test that called external functions are marked. */
/* { dg-do compile } */
/* { dg-skip-if "" { *-*-darwin* } } */
/* { dg-require-visibility "" } */
/* { dg-final { scan-hidden "foo" { xfail *-*-aix* } } } */
extern void foo(void) __attribute__ ((visibility ("hidden")));
int f () {
foo();
}
|