1 // { dg-do compile }
2 #include <string>
3 
4 void a() throw (int);
5 void b(std::string const &);
6 
c(std::string * e)7 void c(std::string *e)
8 {
9   b("");
10 
11   try {
12       a();
13   } catch (...) {
14       *e = "";
15   }
16 }
17 
d()18 void d() {
19     c(0);
20 }
21