1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

Fix structure alignment issue.

llvm-svn: 327666
This commit is contained in:
Zachary Turner 2018-03-15 21:12:51 +00:00
parent 776da39e01
commit 23389902c6

View File

@ -195,10 +195,8 @@ TEST(HashTableTest, NamedStreamMap) {
namespace {
struct FooBar {
std::string S;
uint32_t X;
uint32_t Y;
double Z;
};
} // namespace
@ -236,10 +234,8 @@ TEST(HashTableTest, NonTrivialValueType) {
uint32_t Cap = Table.capacity();
for (uint32_t I = 0; I < Cap; ++I) {
FooBar F;
F.S = utostr(I);
F.X = I;
F.Y = I + 1;
F.Z = static_cast<double>(I + 2);
Table.set_as(utostr(I), F);
}