stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r513412 - /incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp
Date Thu, 01 Mar 2007 17:16:07 GMT
Author: faridz
Date: Thu Mar  1 09:16:07 2007
New Revision: 513412

URL: http://svn.apache.org/viewvc?view=rev&rev=513412
Log: (empty)

Modified:
    incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp

Modified: incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp?view=diff&rev=513412&r1=513411&r2=513412
==============================================================================
--- incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp (original)
+++ incubator/stdcxx/trunk/tests/support/18.limits.traps.cpp Thu Mar  1 09:16:07 2007
@@ -145,14 +145,7 @@
         // signal hanlder above and execution will resume by
         // returning from setjmp() above again, but this time
         // with a non-zero value
-        TRY {
-            result = one / zero;
-        }
-        EXCEPT (1) {
-            // Windows SEH hackery
-            trapped = true;
-        }
-//        test_trap (one, zero, result, trapped);
+        test_trap (one, zero, result, trapped);
     }
 
     rw_assert (trapped == traps, 0, lineno,



Mime
View raw message