diff options
Diffstat (limited to 'clang/test/Preprocessor/pic.c')
-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 |