[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081120-1_0.C
blob03a9740c09110f4faa06d427d5e33429f4255368
1 // { dg-lto-do link }
2 // { dg-lto-options {{-flto -r -nostdlib}} }
3 extern "C"
5  extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int)
6  {
7     return 0;
8  }
10 static __typeof(pthread_equal)
11     __gthrw_pthread_equal __attribute__((__weakref__("pthread_equal")));