From: Eric Christopher Date: Thu, 16 Mar 2017 22:31:07 +0000 (+0000) Subject: Add a small test for __STRUCT_PARM_ALIGN__ for ppc64 darwin. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08aeccc81ccea79a4772e50ad4aad7f81c51c9d1;p=clang Add a small test for __STRUCT_PARM_ALIGN__ for ppc64 darwin. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298006 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c index cae6aa042b..f9f3b26218 100644 --- a/test/Preprocessor/init.c +++ b/test/Preprocessor/init.c @@ -6922,7 +6922,10 @@ // PPC-DARWIN:#define __WINT_WIDTH__ 32 // PPC-DARWIN:#define __powerpc__ 1 // PPC-DARWIN:#define __ppc__ 1 -// + +// RUN: %clang_cc1 -E -dM -ffreestanding -triple=powerpc64-apple-darwin8 < /dev/null | FileCheck -match-full-lines -check-prefix PPC64-DARWIN %s +// PPC64-DARWIN:#define __STRUCT_PARM_ALIGN__ 16 + // RUN: %clang_cc1 -x cl -E -dM -ffreestanding -triple=amdgcn < /dev/null | FileCheck -match-full-lines -check-prefix AMDGCN --check-prefix AMDGPU %s // RUN: %clang_cc1 -x cl -E -dM -ffreestanding -triple=r600 -target-cpu caicos < /dev/null | FileCheck -match-full-lines --check-prefix AMDGPU %s //