We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27283be commit 89145d5Copy full SHA for 89145d5
1 file changed
test/cfg/std.cpp
@@ -5367,3 +5367,13 @@ int containerOutOfBounds_std_initializer_list() { // #14340
5367
int i = *x.end();
5368
return i + containerOutOfBounds_std_initializer_list_access(x);
5369
}
5370
+
5371
+int* missingReturn_std_throw_with_nested() { // #14374
5372
+ try {
5373
+ int* p = new int();
5374
+ return p;
5375
+ }
5376
+ catch (...) {
5377
+ std::throw_with_nested(std::runtime_error("xyz"));
5378
5379
+}
0 commit comments