3 // This is basically the same test as g++.eh/terminate1.C, but that one
4 // tests runtime behavior and this tests the assembly output. The test
5 // should call terminate (because initializing the catch parm throws), but
6 // from the personality routine, not directly.
8 // { dg-final { scan-assembler-not "_ZSt9terminatev" } }
10 // Also there should only be two EH call sites: #0 for throw A() and #1 for
11 // _Unwind_Resume. We don't want call site info for __cxa_end_catch, since
14 // { dg-final { scan-assembler-not "LEHB2" } }
19 A (const A&) { throw 1; }