Open
Description
https://godbolt.org/z/1sf8Gne35
void awoo() noexcept {
[] { throw 0; };
}
This outputs
<source>:1:6: warning: an exception may be thrown in function 'awoo' which should not throw exceptions [bugprone-exception-escape]
1 | void awoo() noexcept {
| ^