Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr77674.C
bloba24ce58dafc1170ef44664697e157065fc304bc0
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       return 0;
7   }
9 typedef pthread_t __gthread_t;
10 static __typeof (pthread_equal)      __gthrw_pthread_equal __attribute__ ((__weakref__ ("pthread_equal")));
12 static inline int __gthread_equal (__gthread_t __t1, __gthread_t __t2)
14   return __gthrw_pthread_equal (__t1, __t2);