aboutsummaryrefslogtreecommitdiff
path: root/test/Sema
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-04-15 08:07:34 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-04-15 08:07:34 +0000
commitb6b127f279f89d992e0713866f17fed267147a79 (patch)
tree5d89b69b1b8163668c7a8fe3c8488de2c886c474 /test/Sema
parent231dbd23f1053b198dcacbed89b73ede907020d4 (diff)
Properly check for a constant initializer for a thread-local variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema')
-rw-r--r--test/Sema/thread-specifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Sema/thread-specifier.c b/test/Sema/thread-specifier.c
index ccffe7335f..01bb8f7773 100644
--- a/test/Sema/thread-specifier.c
+++ b/test/Sema/thread-specifier.c
@@ -108,3 +108,5 @@ __thread S s;
#endif
#endif
#endif
+
+__thread int aggregate[10] = {0};