forked from OSchip/llvm-project
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:
parent
384e012561
commit
7cca38bfd1
|
@ -123,7 +123,7 @@ do_test()
|
|||
{
|
||||
_ALIGNAS_TYPE(A) char storage[sizeof(A)] = {23};
|
||||
A& zero = *new (storage) A();
|
||||
assert(zero == 0);
|
||||
assert(zero == T(0));
|
||||
zero.~A();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue