commit | 4fb71b0cc3c199cc0c736b4ec4fabdd01f56f4e8 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sun Apr 19 21:48:33 2009 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sun Apr 19 21:48:33 2009 +0000 |
tree | 1c770a07c9898783a6a5441f548b082abbab3d91 | |
parent | b030f0272500c6c5602f587ac029ee0dc0e5a05c [diff] [blame] |
Print an error for uses of __thread on targets which don't support it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69553 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/thread-specifier.c b/test/Sema/thread-specifier.c index 1d711c1..8d66e53 100644 --- a/test/Sema/thread-specifier.c +++ b/test/Sema/thread-specifier.c
@@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang-cc -triple i686-pc-linux-gnu -fsyntax-only -verify %s __thread int t1; __thread extern int t2;