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