* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept05.C
bloba6c425dc0b91e6dffaf77d998ae916e9efe4808a
1 // Make sure that we force an LSDA for a noexcept spec so
2 // that the personality routine will call terminate.  Also check that we
3 // optimize away the EH cleanup for var because the personality routine
4 // will call terminate before unwinding: there should not be an EH region
5 // (i.e. LEHB/LEHE labels) around the call to g().
7 // { dg-final { scan-assembler-not "_ZSt9terminatev" } }
8 // { dg-final { scan-assembler-not "EHB" } }
9 // { dg-final { scan-assembler "LSDA" } }
11 // { dg-do compile { target c++11 } }
13 struct A { ~A(); };
14 void g();
15 void f() noexcept
17   A var;
18   g();