comparison gcc/testsuite/gcc.dg/pthread-init-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
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