summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/clang-analyzer-cplusplus.NewDeleteLeaks.cpp
blob: 60772a30dbbf52aeb063e6c0576e1fbb7b49922a (plain)
1
2
3
4
5
6
// https://clang-analyzer.llvm.org/available_checks.html

void test()
{
  int *p = new int;
} // warning