summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx_make_unique.cxx
blob: a3ff68f9bf36ab129446a5af393f062639ff7d85 (plain)
1
2
3
4
5
6
#include <memory>
int main()
{
  std::unique_ptr<int> u = std::make_unique<int>(0);
  return *u;
}