aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2013-04-14 14:07:30 +0000
committerSimon Atanasyan <simon@atanasyan.com>2013-04-14 14:07:30 +0000
commitd96e315fb82950e105188055151d665c03e781ed (patch)
tree68e69ca904440145e71c861e1c5a3217323f1db7 /test/Preprocessor/init.c
parentd44d04f571c25ed258ece30bd2da5ca23d3a0b0d (diff)
[Mips] Follow-up to r179481. Consider "single-float" as a separate
independent of float ABI feature in the MipsTargetInfoBase class. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r--test/Preprocessor/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c
index 90b8466346..8ab1439fa6 100644
--- a/test/Preprocessor/init.c
+++ b/test/Preprocessor/init.c
@@ -1150,6 +1150,12 @@
// MIPS-FABI-SINGLE:#define __mips_hard_float 1
// MIPS-FABI-SINGLE:#define __mips_single_float 1
//
+// RUN: %clang_cc1 -target-feature +soft-float -target-feature +single-float \
+// RUN: -E -dM -ffreestanding -triple=mips-none-none < /dev/null \
+// RUN: | FileCheck -check-prefix MIPS-FABI-SINGLE-SOFT %s
+// MIPS-FABI-SINGLE-SOFT:#define __mips_single_float 1
+// MIPS-FABI-SINGLE-SOFT:#define __mips_soft_float 1
+//
// Check MIPS features macros
//
// RUN: %clang_cc1 -target-feature +mips16 \