2 // { dg-do run { xfail "hppa*-hp-hpux11.*" } }
3 // { dg-require-weak "" }
4 // { dg-additional-sources "weak1-a.cc" }
5 // { dg-options "-O2" }
7 extern __attribute__((weak))
16 /* Although the implementation of f in this file does not throw
17 any exceptions, it is weak, and may therefore be replaced at
18 link time. Therefore, the compiler must not optimize away this