[cfe-commits] r71146 - /cfe/trunk/test/PCH/asm.c
Chris Lattner
sabre at nondot.org
Wed May 6 21:21:18 PDT 2009
Author: lattner
Date: Wed May 6 23:21:16 2009
New Revision: 71146
URL: http://llvm.org/viewvc/llvm-project?rev=71146&view=rev
Log:
Make this test portable to non-x86 hosts, patch by Mark Cianciosa!
Modified:
cfe/trunk/test/PCH/asm.c
Modified: cfe/trunk/test/PCH/asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/PCH/asm.c?rev=71146&r1=71145&r2=71146&view=diff
==============================================================================
--- cfe/trunk/test/PCH/asm.c (original)
+++ cfe/trunk/test/PCH/asm.c Wed May 6 23:21:16 2009
@@ -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(); }
More information about the cfe-commits
mailing list