diff options
author | Tim Northover <tnorthover@apple.com> | 2016-04-28 14:01:49 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-04-28 14:01:49 +0000 |
commit | 32617995732d88d245d98bdc0a6a02331f68b321 (patch) | |
tree | c9250cf0af92addda8c1c1c281eb1ccbb341df04 /clang/test/Preprocessor | |
parent | 28fc0e1fcde2836261f3b329dc40d65850579ed4 (diff) | |
download | bcm5719-llvm-32617995732d88d245d98bdc0a6a02331f68b321.tar.gz bcm5719-llvm-32617995732d88d245d98bdc0a6a02331f68b321.zip |
Add accidentally dropped test to r267880.
Forgot "git add".
llvm-svn: 267881
Diffstat (limited to 'clang/test/Preprocessor')
-rw-r--r-- | clang/test/Preprocessor/arm-target-features.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/arm-target-features.c b/clang/test/Preprocessor/arm-target-features.c index cb3d4703ef0..8d8a0afe2f0 100644 --- a/clang/test/Preprocessor/arm-target-features.c +++ b/clang/test/Preprocessor/arm-target-features.c @@ -212,6 +212,16 @@ // A7:#define __ARM_FEATURE_DSP 1 // A7:#define __ARM_FP 0xE +// Test whether predefines are as expected when targeting cortex-a7. +// RUN: %clang -target x86_64-apple-darwin -arch armv7k -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=ARMV7K %s +// ARMV7K:#define __ARM_ARCH 7 +// ARMV7K:#define __ARM_ARCH_EXT_IDIV__ 1 +// ARMV7K:#define __ARM_ARCH_PROFILE 'A' +// ARMV7K:#define __ARM_FEATURE_DSP 1 +// ARMV7K:#define __ARM_FP 0xE +// ARMV7K:#define __ARM_PCS_VFP 1 + + // Test whether predefines are as expected when targeting cortex-a8. // RUN: %clang -target armv7 -mcpu=cortex-a8 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=A8 %s // RUN: %clang -target armv7 -mthumb -mcpu=cortex-a8 -x c -E -dM %s -o - | FileCheck -match-full-lines --check-prefix=A8 %s |