From: Reid Kleckner Date: Thu, 1 May 2014 17:12:20 +0000 (+0000) Subject: Fix declspec-thread.cpp test with a triple X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e40054f03460d0179b2e6b96088f9ff36c4daf11;p=clang Fix declspec-thread.cpp test with a triple Not all triples support it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207772 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/declspec-thread.cpp b/test/SemaCXX/declspec-thread.cpp index 954f943d97..0ace9a65a4 100644 --- a/test/SemaCXX/declspec-thread.cpp +++ b/test/SemaCXX/declspec-thread.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++11 -fms-extensions -verify %s +// RUN: %clang_cc1 -triple i686-pc-win32 -std=c++11 -fms-extensions -verify %s __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier}} __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier}}