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 definition of PTHREAD_MUTEX_INITIALIZER is missing an initializer for
11 mutexAttr.mutexAttrType in kernel mode for various VxWorks versions. */
12 /* { dg-xfail-if "missing initializer" { vxworks_kernel } } */
13
14 #include "pthread-init-common.h"
15