blob: 8098991ace02a59a8d4a47ba03d3e0e8bdec3eaf [file] [log] [blame]
// { dg-do compile }
#include <string>
void a() throw (int);
void b(std::string const &);
void c(std::string *e)
{
b("");
try {
a();
} catch (...) {
*e = "";
}
}
void d() {
c(0);
}