llvm-project/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array
Eric Fiselier 6b3e48b46a Fix nodiscard failure tests on compilers w/o -verify.
Previously .fail.cpp tests for nodiscard were run with -Wunused-result
being a warning, not an error, when the compiler didn't support -verify.

When -verify isn't enabled this change judiciously adds -Werror=unused-result
when to only the failure tests containing the // expected-error string for nodiscard.

As a drive-by change, this patch also adds a missing // UNSUPPORTED: c++2a to
a test which was only supposed to run in C++ <= 11.

llvm-svn: 322776
2018-01-17 22:48:09 +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_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_array.pass.cpp Rename new_handler in tests to avoid conflicts with MSVC symbols. 2017-01-17 00:32:08 +00:00
new_array_nothrow.pass.cpp Rename new_handler in tests to avoid conflicts with MSVC symbols. 2017-01-17 00:32:08 +00:00
new_array_nothrow_replace.pass.cpp [libc++] Support Microsoft ABI without vcruntime headers 2017-10-09 19:25:17 +00:00
new_array_replace.pass.cpp [libc++] Support Microsoft ABI without vcruntime headers 2017-10-09 19:25:17 +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_delete_array11.pass.cpp Fix nodiscard failure tests on compilers w/o -verify. 2018-01-17 22:48:09 +00:00
sized_delete_array14.pass.cpp [libcxx] [test] Change comments to say C++ instead of c++. NFC. 2017-07-29 00:55:35 +00:00
sized_delete_array_calls_unsized_delete_array.pass.cpp Fix test failures caused by new/delete calls getting optimized away 2017-03-02 21:16:35 +00:00
sized_delete_array_fsizeddeallocation.sh.cpp Add markup for libc++ dylib availability 2017-05-04 17:08:54 +00:00