gecko-dev/tools/clang-tidy/test/clang-analyzer-cplusplus.Ne...

7 строки
105 B
C++

// https://clang-analyzer.llvm.org/available_checks.html
void test()
{
int *p = new int;
} // warning