From: Nick Lewycky Date: Tue, 24 Jan 2012 21:28:47 +0000 (+0000) Subject: Force triple on these tests to pacify the windows tester. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32d4abf2d1396b4434917320872a970415c08e6e;p=clang 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 --- 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 // where the header here simulates . 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 {