From e3c9d52d6de2d59752e9c20fce34eadec6b925bd Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Sat, 18 Jan 2014 03:41:54 +0000 Subject: [PATCH] Fix erroneous test; was failing on darwin-ppc32. Fixes PR18469. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@199542 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../meta/meta.unary.prop.query/alignment_of.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp b/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp index 9ee89c29c..01a2f65c9 100644 --- a/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp +++ b/test/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp @@ -38,6 +38,10 @@ int main() test_alignment_of(); test_alignment_of(); test_alignment_of(); +#if (defined(__ppc__) && !defined(__ppc64__)) + test_alignment_of(); // 32-bit PPC has four byte bool +#else test_alignment_of(); +#endif test_alignment_of(); }