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
This commit is contained in:
Marshall Clow 2014-01-18 03:41:54 +00:00
parent 97f50f6c5e
commit e3c9d52d6d

View File

@ -38,6 +38,10 @@ int main()
test_alignment_of<char[3], 1>();
test_alignment_of<int, 4>();
test_alignment_of<double, 8>();
#if (defined(__ppc__) && !defined(__ppc64__))
test_alignment_of<bool, 4>(); // 32-bit PPC has four byte bool
#else
test_alignment_of<bool, 1>();
#endif
test_alignment_of<unsigned, 4>();
}