summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/readability-uniqueptr-delete-release.cpp
blob: 4fce9cde4eecfcdde6367d4afd075138b6495640 (plain)
1
2
3
4
5
6
#include "structures.h"

int foo() {
  std::unique_ptr<int> P;
  delete P.release();
}