Steffen Brauer - 2021-05-10
<pre>
TEST_CASE("Cppcheck: (error) throwInNoexceptFunction: Exception thrown in function declared not to throw exceptions.","[cppcheck-2.2-fail]")
{
    struct S
    {
        static void f() noexcept(false)
        {throw std::runtime_error("f");}
        static void g() noexcept(noexcept(f()))
        {f();} // <- here
    };
}
</pre>