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