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 | |
| parent | 1b821b4fc5831adde964ca32d5dcc6bbb3b3b834 (diff) | |
| download | bcm5719-llvm-5c633e38a8b1f0624d85eb2dcb59507727eece08.tar.gz bcm5719-llvm-5c633e38a8b1f0624d85eb2dcb59507727eece08.zip | |
Make this test portable to non-x86 hosts, patch by Mark Cianciosa!
llvm-svn: 71146
| -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 b4201ebde83..bff271de039 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(); } |

