No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / g++.dg / warn / weak1.C
blob034716acccecb85f44fc36c76221fe471a45f977
1 // The PA HP-UX dynamic loader doesn't support unsatisfied weak symbols.
2 // { dg-do run }
3 // { dg-require-weak "" }
4 // { dg-skip-if "No unsat" { hppa*-*-hpux* } { "*" } { "" } }
6 extern void foo (void) __attribute__ ((weak));
8 int
9 main ()
11   if (&foo)
12     foo ();
14   return 0;