[test] variant: enable constexpr construction tests on MSVC STL
authorCasey Carter <Casey@Carter.net>
Thu, 4 May 2017 15:32:54 +0000 (15:32 +0000)
committerCasey Carter <Casey@Carter.net>
Thu, 4 May 2017 15:32:54 +0000 (15:32 +0000)
commit79053ff7953d848bf479fdc805f9e671264fbd82
tree3d06c3e7db92838f6215599a3639a843905b424a
parenteedae7630aeb02d6d2184e511802e600764bcc23
[test] variant: enable constexpr construction tests on MSVC STL

* Add a new macro _MSVC_STL_VER to detect when the MSVC STL is being tested
* Workaround C1XX __is_trivially_copyable bug

llvm-svn: 302158
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
libcxx/test/support/msvc_stdlib_force_include.hpp
libcxx/test/support/test.workarounds/c1xx_broken_is_trivially_copyable.pass.cpp [new file with mode: 0644]
libcxx/test/support/test_workarounds.h