Merge with trank @ 137446
[official-gcc.git] / gcc / testsuite / gcc.dg / pthread-init-2.c
blob3e8a17e23d73e003b24cca60c187c99a2c7120e1
1 /* Various Solaris versions have been known to have problems with the
2 * pthread initialization macros when __STDC__ is defined.
4 * Origin: Kaveh Ghazi (ghazi@caip.rutgers.edu) 9/27/2006.
5 */
7 /* { dg-do compile } */
8 /* { dg-require-effective-target pthread_h } */
9 /* { dg-options "-Wextra -Wall -ansi" } */
10 /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* } } } */
12 #include "pthread-init-common.h"