rt_gccstream/gcc/testsuite/g++.dg/eh/catch5.C

14 lines
195 B
C

// PR c++/31411
struct allocator{
~allocator() throw();
};
struct string
{
string(const string& str, const allocator& al = allocator());
};
int main() {
try {}
catch (string smess) {}
}