commit | 774672e9434cb8d0e54371b7a78d19fa3e1fe5fa | [log] [tgz] |
---|---|---|
author | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Apr 15 08:07:34 2013 +0000 |
committer | Richard Smith <richard-llvm@metafoo.co.uk> | Mon Apr 15 08:07:34 2013 +0000 |
tree | 9480e9849961c22e9286cedaa911fbfaffcb8aa3 | |
parent | a8f52c8d88eba776470e2612f5b858fe58f3ad9e [diff] [blame] |
Properly check for a constant initializer for a thread-local variable. llvm-svn: 179516
diff --git a/clang/test/Sema/thread-specifier.c b/clang/test/Sema/thread-specifier.c index ccffe73..01bb8f7 100644 --- a/clang/test/Sema/thread-specifier.c +++ b/clang/test/Sema/thread-specifier.c
@@ -108,3 +108,5 @@ #endif #endif #endif + +__thread int aggregate[10] = {0};