YouCompleteMe/cpp/llvm/tools/clang/test/Preprocessor/mmx.c
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

14 lines
492 B
C

// RUN: %clang -march=i386 -m32 -E -dM %s -msse -o - 2>&1 \
// RUN: | FileCheck %s -check-prefix=SSE_AND_MMX
// RUN: %clang -march=i386 -m32 -E -dM %s -msse -mno-mmx -o - 2>&1 \
// RUN: | FileCheck %s -check-prefix=SSE_NO_MMX
// RUN: %clang -march=i386 -m32 -E -dM %s -mno-mmx -msse -o - 2>&1 \
// RUN: | FileCheck %s -check-prefix=SSE_NO_MMX
// SSE_AND_MMX: #define __MMX__
// SSE_AND_MMX: #define __SSE__
// SSE_NO_MMX-NOT: __MMX__
// SSE_NO_MMX: __SSE__
// SSE_NO_MMX-NOT: __MMX__