forked from OSchip/llvm-project
Fix erroneous test; was failing on darwin-ppc32. Fixes PR18469.
llvm-svn: 199542
This commit is contained in:
parent
9aafa898f9
commit
7132122196
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue