[PATCH] D26197: Protect tests for new/delete under libcpp-no-exceptions

Roger Ferrer Ibanez via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 1 09:19:50 PDT 2016


rogfer01 created this revision.
rogfer01 added reviewers: EricWF, mclow.lists, rmaprath.
rogfer01 added a subscriber: cfe-commits.

Skip the tests that expect an exception be thrown and protect unreachable catch blocks.


https://reviews.llvm.org/D26197

Files:
  test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array.pass.cpp
  test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
  test/std/language.support/support.dynamic/new.delete/new.delete.single/new.pass.cpp
  test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26197.76575.patch
Type: text/x-patch
Size: 4411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161101/bb562900/attachment.bin>


More information about the cfe-commits mailing list