C++: Fix annotation.

This commit is contained in:
Mathias Vorreiter Pedersen
2021-05-06 17:57:57 +02:00
parent d1eb774737
commit 5437bd7a41

View File

@@ -209,6 +209,6 @@ void bad_new_with_nonthrowing_call() {
void bad_new_catch_baseclass_of_bad_alloc() {
try {
int* p = new(std::nothrow) int; // BAD [NOT DETECTED]
int* p = new(std::nothrow) int; // BAD
} catch(const std::exception&) { }
}