Work around MSVC bug in atomics.types.generic/address.pass.cpp test. Patch from STL@microsoft.com

llvm-svn: 273822
This commit is contained in:
Eric Fiselier 2016-06-26 19:59:11 +00:00
parent 384e012561
commit 7cca38bfd1
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ do_test()
{ {
_ALIGNAS_TYPE(A) char storage[sizeof(A)] = {23}; _ALIGNAS_TYPE(A) char storage[sizeof(A)] = {23};
A& zero = *new (storage) A(); A& zero = *new (storage) A();
assert(zero == 0); assert(zero == T(0));
zero.~A(); zero.~A();
} }
} }