* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081120-1_0.C
blobc78e5d97dc3800e6abd54a7f4efc19289fbac39f
1 // { dg-lto-do link }
2 // { dg-lto-options {{-flto -r -nostdlib}} }
3 /* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
4 extern "C"
6  extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int)
7  {
8     return 0;
9  }
11 static __typeof(pthread_equal)
12     __gthrw_pthread_equal __attribute__((__weakref__("pthread_equal")));