summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/init-2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/tls/init-2.C')
-rw-r--r--gcc/testsuite/g++.dg/tls/init-2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/tls/init-2.C b/gcc/testsuite/g++.dg/tls/init-2.C
index c9f646d3a1d..b4407d33a71 100644
--- a/gcc/testsuite/g++.dg/tls/init-2.C
+++ b/gcc/testsuite/g++.dg/tls/init-2.C
@@ -1,5 +1,5 @@
/* Invalid initializations. */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_native } */
extern __thread int i;
__thread int *p = &i; /* { dg-error "dynamically initialized" } */