Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/torture/pr77674.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 // { dg-do compile } | |
2 typedef struct { } __fsid_t; | |
3 typedef unsigned long int pthread_t; | |
4 extern "C" { | |
5 extern __inline __attribute__ ((__gnu_inline__)) int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw () { | |
6 } | |
7 } | |
8 typedef pthread_t __gthread_t; | |
9 static __typeof (pthread_equal) __gthrw_pthread_equal __attribute__ ((__weakref__ ("pthread_equal"))); | |
10 | |
11 static inline int __gthread_equal (__gthread_t __t1, __gthread_t __t2) | |
12 { | |
13 return __gthrw_pthread_equal (__t1, __t2); | |
14 } | |
15 |