diff options
Diffstat (limited to 'test/Preprocessor/init.c')
-rw-r--r-- | test/Preprocessor/init.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index c45067d7fe..73590f7035 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -1663,6 +1663,21 @@ // PPC64:#define __ppc64__ 1 // PPC64:#define __ppc__ 1 // +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-none-none -target-cpu a2q -fno-signed-char < /dev/null | FileCheck -check-prefix PPCA2Q %s +// +// PPCA2Q:#define _ARCH_A2 1 +// PPCA2Q:#define _ARCH_A2Q 1 +// PPCA2Q:#define _ARCH_PPC 1 +// PPCA2Q:#define _ARCH_PPC64 1 +// PPCA2Q:#define _ARCH_QP 1 +// +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-bgq-linux -fno-signed-char < /dev/null | FileCheck -check-prefix PPCBGQ %s +// +// PPCBGQ:#define __THW_BLUEGENE__ 1 +// PPCBGQ:#define __TOS_BGQ__ 1 +// PPCBGQ:#define __bg__ 1 +// PPCBGQ:#define __bgq__ 1 +// // RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-unknown-linux-gnu -fno-signed-char < /dev/null | FileCheck -check-prefix PPC64-LINUX %s // // PPC64-LINUX:#define _ARCH_PPC 1 |