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

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

int identifierByPthreadHandle ()
{
  pthread_equal ();
  return 0;
}