diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-04-15 08:00:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-04-15 08:00:15 +0000 |
commit | b16ae8b754fa7ecf80a81e1cb598e17a39d4c167 (patch) | |
tree | f130dfddcf67966dbe290188c911855d9253c902 | |
parent | 3c6a9b052373f656268557904d229a8ad8b7686f (diff) |
Add triples to these tests since they're now using TLS, which isn't available on all targets.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179514 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp | 2 | ||||
-rw-r--r-- | test/PCH/thread-local.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp b/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp index 2eaa0ba304..3f65466dfc 100644 --- a/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp +++ b/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -std=c++11 %s -verify +// RUN: %clang_cc1 -std=c++11 %s -verify -triple x86_64-linux-gnu namespace std { typedef decltype(nullptr) nullptr_t; diff --git a/test/PCH/thread-local.cpp b/test/PCH/thread-local.cpp index 4679946e1a..f65c12af09 100644 --- a/test/PCH/thread-local.cpp +++ b/test/PCH/thread-local.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -pedantic-errors -std=c++11 -emit-pch %s -o %t -// RUN: %clang_cc1 -pedantic-errors -std=c++11 -include-pch %t -verify %s +// RUN: %clang_cc1 -pedantic-errors -std=c++11 -triple x86_64-linux-gnu -emit-pch %s -o %t +// RUN: %clang_cc1 -pedantic-errors -std=c++11 -triple x86_64-linux-gnu -include-pch %t -verify %s #ifndef HEADER_INCLUDED |