2014-04-07 Charles Baylis <charles.baylis@linaro.org>
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr46364.C
blob8098991ace02a59a8d4a47ba03d3e0e8bdec3eaf
1 // { dg-do compile }
2 #include <string>
4 void a() throw (int);
5 void b(std::string const &);
7 void c(std::string *e)
9   b("");
11   try {
12       a();
13   } catch (...) {
14       *e = "";
15   }
18 void d() {
19     c(0);