]> granicus.if.org Git - clang/commitdiff
Make this test portable to non-x86 hosts, patch by Mark Cianciosa!
authorChris Lattner <sabre@nondot.org>
Thu, 7 May 2009 04:21:16 +0000 (04:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 May 2009 04:21:16 +0000 (04:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71146 91177308-0d34-0410-b5e6-96231b3b80d8

test/PCH/asm.c

index b4201ebde837f82f02cfb91bdce3463c378b4cc6..bff271de0390ecc4a79e84fbdb4a222f6da71e68 100644 (file)
@@ -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(); }