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 16