diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-07 04:21:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-07 04:21:16 +0000 |
commit | 5c633e38a8b1f0624d85eb2dcb59507727eece08 (patch) | |
tree | 8a3d85cb6f046ec90b1f62335f324d4d7adc5b3e /clang/test/PCH/asm.c | |
parent | 1b821b4fc5831adde964ca32d5dcc6bbb3b3b834 (diff) | |
download | llvm-5c633e38a8b1f0624d85eb2dcb59507727eece08.zip llvm-5c633e38a8b1f0624d85eb2dcb59507727eece08.tar.gz llvm-5c633e38a8b1f0624d85eb2dcb59507727eece08.tar.bz2 |
Make this test portable to non-x86 hosts, patch by Mark Cianciosa!
llvm-svn: 71146
Diffstat (limited to 'clang/test/PCH/asm.c')
-rw-r--r-- | clang/test/PCH/asm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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(); } |