]> granicus.if.org Git - clang/commitdiff
Add a small test for __STRUCT_PARM_ALIGN__ for ppc64 darwin.
authorEric Christopher <echristo@gmail.com>
Thu, 16 Mar 2017 22:31:07 +0000 (22:31 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 16 Mar 2017 22:31:07 +0000 (22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298006 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/init.c

index cae6aa042bef797890a6b7c8ec89d7b030ea5e54..f9f3b26218936d9defc60fbc3af173ecb5ae8fc2 100644 (file)
 // 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
 //