summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr46469.C
blob: 8212ea4f9e2b8a8e090c1a88235bbcbebdf5cad4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern "C"  __inline __attribute__ ((__gnu_inline__)) int pthread_equal ()
  {
  }

static
  __typeof
  (pthread_equal)
  __gthrw_pthread_equal __attribute__ ((__weakref__ ("pthread_equal")));

int identifierByPthreadHandle ()
{
  pthread_equal ();
}