1 // PR c++/31411
2 
3 struct allocator{
4   ~allocator() throw();
5 };
6 struct string
7 {
8   string(const string& str, const allocator& al = allocator());
9 };
main()10 int main() {
11   try {}
12   catch (string smess) {}
13 }
14