summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tls/diag-2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/tls/diag-2.C')
-rw-r--r--gcc/testsuite/g++.dg/tls/diag-2.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/tls/diag-2.C b/gcc/testsuite/g++.dg/tls/diag-2.C
index 484b1884515..b48b7d72fdf 100644
--- a/gcc/testsuite/g++.dg/tls/diag-2.C
+++ b/gcc/testsuite/g++.dg/tls/diag-2.C
@@ -1,5 +1,5 @@
/* Invalid __thread specifiers. */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_native } */
__thread extern int g1; /* { dg-error "'__thread' before 'extern'" } */
__thread static int g2; /* { dg-error "'__thread' before 'static'" } */