diff options
author | Simon Atanasyan <satanasyan@mips.com> | 2012-05-09 18:49:52 +0000 |
---|---|---|
committer | Simon Atanasyan <satanasyan@mips.com> | 2012-05-09 18:49:52 +0000 |
commit | ce005eb2c627e5bae35bd185c087ed5f8cfe1b85 (patch) | |
tree | 0e33e62a2ac81336e2c16918f290163a25126d19 /clang/test/Preprocessor/mmx.c | |
parent | 266c62062399b7bf9612909367b68a31e50a71f4 (diff) | |
download | bcm5719-llvm-ce005eb2c627e5bae35bd185c087ed5f8cfe1b85.tar.gz bcm5719-llvm-ce005eb2c627e5bae35bd185c087ed5f8cfe1b85.zip |
Pass a target triple explicitly to check platform specific macros definitions.
That allows to run the tests on all platforms successfully.
llvm-svn: 156500
Diffstat (limited to 'clang/test/Preprocessor/mmx.c')
-rw-r--r-- | clang/test/Preprocessor/mmx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/mmx.c b/clang/test/Preprocessor/mmx.c index 2613cb6ebed..59e715ec193 100644 --- a/clang/test/Preprocessor/mmx.c +++ b/clang/test/Preprocessor/mmx.c @@ -1,8 +1,11 @@ // RUN: %clang -march=i386 -m32 -E -dM %s -msse -o - 2>&1 \ +// RUN: -target i386-unknown-linux \ // RUN: | FileCheck %s -check-prefix=SSE_AND_MMX // RUN: %clang -march=i386 -m32 -E -dM %s -msse -mno-mmx -o - 2>&1 \ +// RUN: -target i386-unknown-linux \ // RUN: | FileCheck %s -check-prefix=SSE_NO_MMX // RUN: %clang -march=i386 -m32 -E -dM %s -mno-mmx -msse -o - 2>&1 \ +// RUN: -target i386-unknown-linux \ // RUN: | FileCheck %s -check-prefix=SSE_NO_MMX // SSE_AND_MMX: #define __MMX__ |