aboutsummaryrefslogtreecommitdiff
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.C13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/testsuite/g++.dg/tls/init-2.C b/gcc/testsuite/g++.dg/tls/init-2.C
deleted file mode 100644
index 49df50147b3..00000000000
--- a/gcc/testsuite/g++.dg/tls/init-2.C
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Invalid initializations. */
-
-extern __thread int i;
-__thread int *p = &i; /* { dg-error "run-time initialization" } */
-
-extern int f();
-__thread int j = f(); /* { dg-error "run-time initialization" } */
-
-struct S
-{
- S();
-};
-__thread S s; /* { dg-error "run-time initialization" } */