Debian Codegraph @

gcc/testsuite/g++.dg/coroutines/torture/pr95615-08-initial-suspend-throws-uhe-throws.C

raw
1 // { dg-do run }
2 // { dg-skip-if "requires hosted libstdc++ for cassert in pr95615.inc" { ! hostedlib } }
3
4 #define INITIAL_SUSPEND_THROWS 1
5 // It should be irrelevant that unhandled_exception might throw, so we should
6 // not call it.
7 #define UNHANDLED_EXCEPTION_THROWS 1
8 #include "pr95615.inc"