2 // { dg-require-weak "" }
3 // The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
4 // { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } }
5 // The darwin loader does, but they do need to exist at link time.
6 // { dg-skip-if "No link unsat" { *-*-darwin* } { "*" } { "" } }
8 extern void foo (void) __attribute__ ((weak));