aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-01-24 21:28:47 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-01-24 21:28:47 +0000
commit32d4abf2d1396b4434917320872a970415c08e6e (patch)
tree35ad889e9c424a1de21a1b93d8ec8b7736a42adc
parentfca84b232dd74c91b2e0f963a3f8c3bd351a9037 (diff)
Force triple on these tests to pacify the windows tester.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148858 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/SemaCXX/warn-new-overaligned-2.cpp2
-rw-r--r--test/SemaCXX/warn-new-overaligned-3.cpp2
-rw-r--r--test/SemaCXX/warn-new-overaligned.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaCXX/warn-new-overaligned-2.cpp b/test/SemaCXX/warn-new-overaligned-2.cpp
index 0a7643956d..5505009068 100644
--- a/test/SemaCXX/warn-new-overaligned-2.cpp
+++ b/test/SemaCXX/warn-new-overaligned-2.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wover-aligned -verify %s
+// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -Wover-aligned -verify %s
// This test verifies that we don't warn when the global operator new is
// overridden. That's why we can't merge this with the other test file.
diff --git a/test/SemaCXX/warn-new-overaligned-3.cpp b/test/SemaCXX/warn-new-overaligned-3.cpp
index f3b0cb7dd1..783c03ec56 100644
--- a/test/SemaCXX/warn-new-overaligned-3.cpp
+++ b/test/SemaCXX/warn-new-overaligned-3.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wover-aligned %s -isystem %S/Inputs -verify
+// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -Wover-aligned %s -isystem %S/Inputs -verify
// This test ensures that we still get the warning even if we #include <new>
// where the header here simulates <new>.
diff --git a/test/SemaCXX/warn-new-overaligned.cpp b/test/SemaCXX/warn-new-overaligned.cpp
index 6ebae8b513..42a4e3523a 100644
--- a/test/SemaCXX/warn-new-overaligned.cpp
+++ b/test/SemaCXX/warn-new-overaligned.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wover-aligned -verify %s
+// RUN: %clang_cc1 -triple=x86_64-pc-linux-gnu -Wover-aligned -verify %s
namespace test1 {
struct Test {