summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pthread-init-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pthread-init-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/pthread-init-1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pthread-init-1.c b/gcc/testsuite/gcc.dg/pthread-init-1.c
index 9cf4fa3d35b..2f78844fe1f 100644
--- a/gcc/testsuite/gcc.dg/pthread-init-1.c
+++ b/gcc/testsuite/gcc.dg/pthread-init-1.c
@@ -5,6 +5,7 @@
*/
/* { dg-do compile } */
+/* { dg-require-effective-target pthread_h } */
/* { dg-options "-Wextra -Wall" } */
#include "pthread-init-common.h"