summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/init.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-03-16 22:31:07 +0000
committerEric Christopher <echristo@gmail.com>2017-03-16 22:31:07 +0000
commitdec1b92cccd7e9fbcf3284aa30489fdaa095f362 (patch)
tree192ee4254dc96d74332c78b03c716cba993703aa /clang/test/Preprocessor/init.c
parent21b54cf6326539499637c7cef5ae04dabc988f1c (diff)
downloadbcm5719-llvm-dec1b92cccd7e9fbcf3284aa30489fdaa095f362.tar.gz
bcm5719-llvm-dec1b92cccd7e9fbcf3284aa30489fdaa095f362.zip
Add a small test for __STRUCT_PARM_ALIGN__ for ppc64 darwin.
llvm-svn: 298006
Diffstat (limited to 'clang/test/Preprocessor/init.c')
-rw-r--r--clang/test/Preprocessor/init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/init.c b/clang/test/Preprocessor/init.c
index cae6aa042be..f9f3b262189 100644
--- a/clang/test/Preprocessor/init.c
+++ b/clang/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
//
OpenPOWER on IntegriCloud