llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single
Eric Fiselier decf22e50f Fix most GCC test failures.
This patch fixes almost all currently failing tests when
using GCC ToT.

The specific changes are:

(A) Workaround gcc.gnu.org/PR83921 which rejects variables w/o initializers
in constexpr contexts -- even when the variable is an empty class. This
bug has been worked around at all callsites by adding an initializer.
Additionally a new test, constexpr_init.pass.cpp, has been added to
test that Clang doesn't suffer from these bugs.

(B) Fix streambuf.assign/swap.pass.cpp. This test was never actually
calling the swap method as intended. In fact, the swap function it
intended to call was ill-formed when instantiated. GCC diagnosed
this ill-formedness w/o needing an instantiation.

(C) size_delete11.pass.cpp was fixed by adding c++2a to the list of
unsupported dialects.

llvm-svn: 322810
2018-01-18 03:41:06 +00:00
..
delete_align_val_t_replace.pass.cpp [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new 2017-11-15 19:14:45 +00:00
new.pass.cpp Rename new_handler in tests to avoid conflicts with MSVC symbols. 2017-01-17 00:32:08 +00:00
new_align_val_t.pass.cpp [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new 2017-11-15 19:14:45 +00:00
new_align_val_t_nothrow.pass.cpp [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new 2017-11-15 19:14:45 +00:00
new_align_val_t_nothrow_replace.pass.cpp [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new 2017-11-15 19:14:45 +00:00
new_align_val_t_replace.pass.cpp [test] Alignment must be > __STDCPP_DEFAULT_NEW_ALIGNMENT__ to call aligned new 2017-11-15 19:14:45 +00:00
new_nothrow.pass.cpp Rename new_handler in tests to avoid conflicts with MSVC symbols. 2017-01-17 00:32:08 +00:00
new_nothrow_replace.pass.cpp [libc++] Support Microsoft ABI without vcruntime headers 2017-10-09 19:25:17 +00:00
new_replace.pass.cpp Fix test failures caused by new/delete calls getting optimized away 2017-03-02 21:16:35 +00:00
new_size.fail.cpp Commit tests for changes in revision 319710 2017-12-04 23:04:53 +00:00
new_size_align.fail.cpp Commit tests for changes in revision 319710 2017-12-04 23:04:53 +00:00
new_size_align_nothrow.fail.cpp Commit tests for changes in revision 319710 2017-12-04 23:04:53 +00:00
new_size_nothrow.fail.cpp Commit tests for changes in revision 319710 2017-12-04 23:04:53 +00:00
sized_delete11.pass.cpp Fix most GCC test failures. 2018-01-18 03:41:06 +00:00
sized_delete14.pass.cpp [libcxx] [test] Change comments to say C++ instead of c++. NFC. 2017-07-29 00:55:35 +00:00
sized_delete_calls_unsized_delete.pass.cpp Fix more uses of dynamic exception specifications in C++17 2016-12-11 02:47:36 +00:00
sized_delete_fsizeddeallocation.sh.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00