From 5c633e38a8b1f0624d85eb2dcb59507727eece08 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 7 May 2009 04:21:16 +0000 Subject: Make this test portable to non-x86 hosts, patch by Mark Cianciosa! llvm-svn: 71146 --- clang/test/PCH/asm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'clang/test') diff --git a/clang/test/PCH/asm.c b/clang/test/PCH/asm.c index b4201eb..bff271d 100644 --- a/clang/test/PCH/asm.c +++ b/clang/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(); } -- cgit v1.1