2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pthread-init-2.c
blob6fc427fe2eb182d4ac667dd30f28a6b420b8eee8
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-options "-Wextra -Wall -ansi" } */
9 /* { dg-options "-Wextra -Wall -ansi -D_POSIX_C_SOURCE=199506L" { target { *-*-hpux* *-*-solaris2.5.1 } } } */
11 #include "pthread-init-common.h"