1 // { dg-options "-O2 -fdump-tree-ehcleanup1-details" }
3 #ifdef __GXX_EXPERIMENTAL_CXX0X__
4 #define NOEXCEPT_FALSE noexcept (false)
9 extern void can_throw ();
25 // We ought to remove implicit cleanup, since destructor is empty.
26 // { dg-final { scan-tree-dump-times "Empty EH handler" 2 "ehcleanup1" } }
28 // And as a result also contained control flow.
29 // { dg-final { scan-tree-dump-times "Removing unreachable" 4 "ehcleanup1" } }