aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C b/gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
deleted file mode 100644
index 1e8078fa8..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/tls/thread_local-wrap2.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// If we can't see the definition at the use site, but it's in this translation
-// unit, we build a wrapper but don't bother with an init function.
-
-// { dg-require-effective-target tls }
-// { dg-options "-std=c++11" }
-// { dg-final { scan-assembler "_ZTW1i" } }
-// { dg-final { scan-assembler-not "_ZTH1i" } }
-
-extern thread_local int i;
-
-int main()
-{
- return i - 42;
-}
-
-thread_local int i = 42;