Michael Smith - 2017-07-13

The following example produces a syntax error using cppcheck 1.79 on MacOS 10.12.5.

#include <catch.hpp>

namespace foo {
    struct mock {};

    TEST_CASE("anything") {
    }
}
$ cppcheck example.cc
Checking example.cc ...
[example.cc:6]: (error) syntax error
 

Last edit: Michael Smith 2017-07-13