Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / eh / catch5.C
blob6001b566e0731df2a5a10513b7874c21746d4cb6
1 // PR c++/31411
3 struct allocator{
4   ~allocator() throw();
5 };
6 struct string
8   string(const string& str, const allocator& al = allocator());
9 };
10 int main() {
11   try {}
12   catch (string smess) {}