OSDN Git Service

* lib/target-supports.exp (check_effective_target_pthread_h): New.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pthread-init-1.c
index 9cf4fa3..2f78844 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 /* { dg-do compile } */
+/* { dg-require-effective-target pthread_h } */
 /* { dg-options "-Wextra -Wall" } */
 
 #include "pthread-init-common.h"