summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/thread-specifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/thread-specifier.c')
-rw-r--r--test/CodeGen/thread-specifier.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/thread-specifier.c b/test/CodeGen/thread-specifier.c
index a2d3e62..8e21651 100644
--- a/test/CodeGen/thread-specifier.c
+++ b/test/CodeGen/thread-specifier.c
@@ -10,6 +10,9 @@
// CHECK: @i = thread_local(initialexec) global
// CHECK: @j = thread_local(localexec) global
+// CHECK-NOT: @_ZTW
+// CHECK-NOT: @_ZTH
+
__thread int a;
extern __thread int b;
int c() { return *&b; }
OpenPOWER on IntegriCloud