From 5031c46ec40984d57fd0e4a1e53dc3490603b2ae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 May 2009 04:21:16 +0000 Subject: [PATCH] Make this test portable to non-x86 hosts, patch by Mark Cianciosa! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71146 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/PCH/asm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/PCH/asm.c b/test/PCH/asm.c index b4201ebde8..bff271de03 100644 --- a/test/PCH/asm.c +++ b/test/PCH/asm.c @@ -1,9 +1,9 @@ // Test this without pch. -// RUN: clang-cc -include %S/asm.h -fsyntax-only -verify %s && +// RUN: clang-cc -triple i386-unknown-unknown -include %S/asm.h -fsyntax-only -verify %s && // Test with pch. -// RUN: clang-cc -emit-pch -o %t %S/asm.h && -// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s +// RUN: clang-cc -triple i386-unknown-unknown -emit-pch -o %t %S/asm.h && +// RUN: clang-cc -triple i386-unknown-unknown -include-pch %t -fsyntax-only -verify %s void call_f(void) { f(); } -- 2.40.0