From: Chandler Carruth Date: Tue, 29 Dec 2015 00:03:24 +0000 (+0000) Subject: [ADT] Use a nonce type with at least 4 byte alignment. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1093924e4575f8b0db279709f71e81a372585ed4;p=oota-llvm.git [ADT] Use a nonce type with at least 4 byte alignment. We didn't actually statically check this, and so it worked 25% of the time for me. =/ Really sorry it took so long to fix, I shouldn't leave the commit log editor window open without saving and landing the commit. =[ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256528 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ADT/PointerIntPairTest.cpp b/unittests/ADT/PointerIntPairTest.cpp index 956c250791e..e27a5823a51 100644 --- a/unittests/ADT/PointerIntPairTest.cpp +++ b/unittests/ADT/PointerIntPairTest.cpp @@ -16,6 +16,7 @@ namespace { TEST(PointerIntPairTest, GetSet) { struct S { + int i; }; S s;