aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorSimon Atanasyan <satanasyan@mips.com>2012-06-05 13:06:56 +0000
committerSimon Atanasyan <satanasyan@mips.com>2012-06-05 13:06:56 +0000
commit3dbcc889c1ce291b7aa227597d22c009d5c489e3 (patch)
tree3adfba63ce0246de1a9be61b07550a59f228d9fb /test/Preprocessor/init.c
parent0637f407e6ee7fdccde17fbf9a5fcc4853187b3e (diff)
Mips: Define __mips_hard_float macro additional to __mips_single_float
when single float ABI is selected. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157996 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r--test/Preprocessor/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c
index 4d5c36c759..8af1ccdfda 100644
--- a/test/Preprocessor/init.c
+++ b/test/Preprocessor/init.c
@@ -873,6 +873,7 @@
// RUN: %clang_cc1 -target-feature +single-float -E -dM -ffreestanding \
// RUN: -triple=mips-none-none < /dev/null \
// RUN: | FileCheck -check-prefix MIPS-FABI-SINGLE %s
+// MIPS-FABI-SINGLE:#define __mips_hard_float 1
// MIPS-FABI-SINGLE:#define __mips_single_float 1
//
// RUN: %clang_cc1 -E -dM -ffreestanding -triple=msp430-none-none < /dev/null | FileCheck -check-prefix MSP430 %s