OSDN Git Service

2010-04-08 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pthread-init-1.c
1 /* Ensure we get clean warning results when using the pthread
2  * initialization macros.
3  *
4  * Origin: Kaveh Ghazi (ghazi@caip.rutgers.edu) 9/27/2006.
5  */
6
7 /* { dg-do compile } */
8 /* { dg-require-effective-target pthread_h } */
9 /* { dg-options "-Wextra -Wall" } */
10 /* The RTP definition of PTHREAD_MUTEX_INITIALIZER is missing an
11  * initializer for mutexAttr.mutexAttrType.  */
12 /* { dg-xfail-if "missing initializer" { vxworks_rtp } } */
13
14 #include "pthread-init-common.h"
15