From b738855f8cc2d5b66bc0f8f06a6e17a6260e6ba5 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 29 Dec 2015 00:03:24 +0000 Subject: [PATCH] [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. =[ llvm-svn: 256528 --- llvm/unittests/ADT/PointerIntPairTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/ADT/PointerIntPairTest.cpp b/llvm/unittests/ADT/PointerIntPairTest.cpp index 956c250791ec..e27a5823a51e 100644 --- a/llvm/unittests/ADT/PointerIntPairTest.cpp +++ b/llvm/unittests/ADT/PointerIntPairTest.cpp @@ -16,6 +16,7 @@ namespace { TEST(PointerIntPairTest, GetSet) { struct S { + int i; }; S s;