r207772 - Fix declspec-thread.cpp test with a triple

Reid Kleckner reid at kleckner.net
Thu May 1 10:12:20 PDT 2014


Author: rnk
Date: Thu May  1 12:12:20 2014
New Revision: 207772

URL: http://llvm.org/viewvc/llvm-project?rev=207772&view=rev
Log:
Fix declspec-thread.cpp test with a triple

Not all triples support it.

Modified:
    cfe/trunk/test/SemaCXX/declspec-thread.cpp

Modified: cfe/trunk/test/SemaCXX/declspec-thread.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/declspec-thread.cpp?rev=207772&r1=207771&r2=207772&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/declspec-thread.cpp (original)
+++ cfe/trunk/test/SemaCXX/declspec-thread.cpp Thu May  1 12:12:20 2014
@@ -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}}





More information about the cfe-commits mailing list