summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081120-1_0.C
blob: 6827337787cd512b9e9ba64d47453acaff472784 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-lto-do link }
// { dg-lto-options {{-flto -r -nostdlib}} }
extern "C"
{
 extern __inline __attribute__((__gnu_inline__)) int pthread_equal(int, int)
 {
 }
}
static __typeof(pthread_equal)
    __gthrw_pthread_equal __attribute__((__weakref__("pthread_equal")));