builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-14.c
blob9ec74471f03d1818f22aacc5d6255a0f7fea90b4
1 /* Test that called external functions are marked. */
2 /* { dg-do compile } */
3 /* { dg-skip-if "" { *-*-darwin* } } */
4 /* { dg-require-visibility "" } */
5 /* { dg-final { scan-hidden "foo" { xfail *-*-aix* } } } */
7 extern void foo(void) __attribute__ ((visibility ("hidden")));
8 int f () {
9 foo();