darling-libcxx/test
Eric Fiselier 11f64dcc58 Fix undefined behavior in container swap tests.
These swap tests were swapping non-POCS non-equal allocators which
is undefined behavior. This patch changes the tests to use allocators
which compare equal. In order to test that the allocators were not
swapped I added an "id" field to test_allocator which does not
participate in equality but does propagate across copies/swaps.

This patch is based off of D26623 which was submitted by STL.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@289358 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-11 03:41:12 +00:00
..
libcxx Put C++ ABI headers in a special build directory instead of the top level. 2016-12-09 09:31:01 +00:00
std Fix undefined behavior in container swap tests. 2016-12-11 03:41:12 +00:00
support Fix undefined behavior in container swap tests. 2016-12-11 03:41:12 +00:00
CMakeLists.txt Fix linker script generation for in-tree builds 2016-10-09 21:34:03 +00:00
lit.cfg Add mork workarounds for running the test suite against libstdc++ 2016-10-12 00:28:14 +00:00
lit.site.cfg.in Fix GCC libc++abi build 2016-11-13 22:27:00 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac OS X with the new depr.c headers change 2015-11-01 21:14:22 +00:00