-// Copyright (C) 2016-2017 Free Software Foundation, Inc.
+// Copyright (C) 2016-2023 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
fail_after = i;
f();
break;
- } catch (std::bad_alloc) {
+ } catch (const std::bad_alloc&) {
}
}
}