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