diff --git a/cfg/std.cfg b/cfg/std.cfg
index ec5fbb72548..33fbd3585e9 100644
--- a/cfg/std.cfg
+++ b/cfg/std.cfg
@@ -8814,6 +8814,12 @@ initializer list (7) string& replace (const_iterator i1, const_iterator i2, init
+
+
+
+ true
+
+
malloc,std::malloc
calloc,std::calloc
diff --git a/test/cfg/std.cpp b/test/cfg/std.cpp
index 0344b98455c..90082d39d26 100644
--- a/test/cfg/std.cpp
+++ b/test/cfg/std.cpp
@@ -5367,3 +5367,13 @@ int containerOutOfBounds_std_initializer_list() { // #14340
int i = *x.end();
return i + containerOutOfBounds_std_initializer_list_access(x);
}
+
+int* missingReturn_std_throw_with_nested() { // #14374
+ try {
+ int* p = new int();
+ return p;
+ }
+ catch (...) {
+ std::throw_with_nested(std::runtime_error("xyz"));
+ }
+}