From: Chris Lattner Date: Thu, 7 May 2009 04:21:16 +0000 (+0000) Subject: Make this test portable to non-x86 hosts, patch by Mark Cianciosa! X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5031c46ec40984d57fd0e4a1e53dc3490603b2ae;p=clang 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 --- 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(); }