diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 23:02:51 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-08 23:02:51 +0000 |
| commit | 6eaebd093492747e1f0acf4945f205524f1950e8 (patch) | |
| tree | a5731a80957e435cd0690cefbcedb6a9440e1792 /clang/test/Preprocessor | |
| parent | aa55f949ac94e8be07087cc1af0ce1dc6505b0c5 (diff) | |
| download | bcm5719-llvm-6eaebd093492747e1f0acf4945f205524f1950e8.tar.gz bcm5719-llvm-6eaebd093492747e1f0acf4945f205524f1950e8.zip | |
Force triple for these tests.
llvm-svn: 68651
Diffstat (limited to 'clang/test/Preprocessor')
| -rw-r--r-- | clang/test/Preprocessor/pic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Preprocessor/pic.c b/clang/test/Preprocessor/pic.c index 1a2300b1a13..1cddaa1a91e 100644 --- a/clang/test/Preprocessor/pic.c +++ b/clang/test/Preprocessor/pic.c @@ -1,10 +1,10 @@ -// RUN: clang -static -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -static -dM -E -o %t %s && // RUN: grep '#define __PIC__' %t | count 0 && // RUN: grep '#define __pic__' %t | count 0 && -// RUN: clang -fpic -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -fpic -dM -E -o %t %s && // RUN: grep '#define __PIC__ 1' %t | count 1 && // RUN: grep '#define __pic__ 1' %t | count 1 && -// RUN: clang -fPIC -dM -E -o %t %s && +// RUN: clang -ccc-host-triple i386-unknown-unknown -fPIC -dM -E -o %t %s && // RUN: grep '#define __PIC__ 2' %t | count 1 && // RUN: grep '#define __pic__ 2' %t | count 1 && // RUN: true |

