1 // PR rtl-optimization/85393
2 // { dg-do run { target c++11 } }
3 // { dg-options "-O2" }
4 // { dg-additional-sources "pr85393-aux.cc" }
9 void foo (char const *s);
10 struct S { ~S () noexcept (false) { throw std::runtime_error ("foo"); } };
13 main (int argc, char *argv[])
15 std::vector <std::vector <char> > args;
24 throw std::runtime_error ("foo");
27 catch (std::runtime_error const& e)