[PATCH] D27254: Protect optional test under libcpp-no-exceptions

Roger Ferrer Ibanez via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 30 09:20:46 PST 2016


rogfer01 added inline comments.


================
Comment at: test/std/experimental/optional/optional.specalg/swap.pass.cpp:225
     }
+#ifndef TEST_HAS_NO_EXCEPTIONS
     {
----------------
mclow.lists wrote:
> Why is this here, and not before line L#236?
Yep, I'm wrong here. Probably a fallout of an early version where I protected the definition of Z instead before using TEST_THROW. 


https://reviews.llvm.org/D27254





More information about the cfe-commits mailing list