From 643a2869b3b3c4d3ce5c7c91a43196cbf03c8843 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 15 Apr 2013 08:00:15 +0000 Subject: [PATCH] Add triples to these tests since they're now using TLS, which isn't available on all targets. llvm-svn: 179514 --- clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp | 2 +- clang/test/PCH/thread-local.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp b/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp index 2eaa0ba304f4..3f65466dfc0f 100644 --- a/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp +++ b/clang/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/clang/test/PCH/thread-local.cpp b/clang/test/PCH/thread-local.cpp index 4679946e1a8b..f65c12af0925 100644 --- a/clang/test/PCH/thread-local.cpp +++ b/clang/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