2 /* { dg-require-weak "" } */
3 /* { dg-skip-if "No undefined" { *-*-mingw* } { "*" } { "" } } */
4 /* { dg-skip-if "No undefined weak" { *-*-aix* } { "*" } { "" } } */
5 /* { dg-skip-if "No undefined weak" { hppa*-*-hpux* && { ! lp64 } } { "*" } { "" } } */
6 /* { dg-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */
7 /* { dg-additional-options "-Wl,-flat_namespace" { target *-*-darwin[89]* } } */
13 int y(int a
) __attribute__ ((weak
));
17 int (*scan_func
)(int);