aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tls/diag-3.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/tls/diag-3.c')
-rw-r--r--gcc/testsuite/gcc.dg/tls/diag-3.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/testsuite/gcc.dg/tls/diag-3.c b/gcc/testsuite/gcc.dg/tls/diag-3.c
deleted file mode 100644
index 89d1bea8ede..00000000000
--- a/gcc/testsuite/gcc.dg/tls/diag-3.c
+++ /dev/null
@@ -1,10 +0,0 @@
-/* Report invalid extern and __thread combinations. */
-
-extern int j; /* { dg-error "previous declaration" } */
-__thread int j; /* { dg-error "follows non thread-local" } */
-
-extern __thread int i; /* { dg-error "previous declaration" } */
-int i; /* { dg-error "follows thread-local" } */
-
-extern __thread int k; /* This is fine. */
-__thread int k;