[libcxx] r285792 - Remove spurious token from #endif

Roger Ferrer Ibanez via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 01:36:43 PDT 2016


Author: rogfer01
Date: Wed Nov  2 03:36:43 2016
New Revision: 285792

URL: http://llvm.org/viewvc/llvm-project?rev=285792&view=rev
Log:
Remove spurious token from #endif


Modified:
    libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp

Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp?rev=285792&r1=285791&r2=285792&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow.pass.cpp Wed Nov  2 03:36:43 2016
@@ -40,7 +40,7 @@ int main()
     std::set_new_handler(new_handler);
 #ifndef TEST_HAS_NO_EXCEPTIONS
     try
-#endif TEST_HAS_NO_EXCEPTIONS
+#endif
     {
         void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow);
         assert(new_handler_called == 1);




More information about the cfe-commits mailing list