* tree-sra.c (sra_build_assignment): Disable assertion checking
[official-gcc.git] / libstdc++-v3 / testsuite / 18_support / 14026.cc
blob103ac64a9d70ace38f258b111d99a66b47f06382
1 // PR 14026
2 // 18.6.4 uncaught_exception
4 #include <cstdlib>
5 #include <exception>
6 #include <testsuite_hooks.h>
8 static void
9 no_uncaught ()
11 if (std::uncaught_exception ())
12 abort ();
15 int
16 main ()
18 try
20 throw 1;
22 catch (...)
24 try
26 throw;
28 catch (...)
30 no_uncaught ();
33 no_uncaught ();