CMake/Source/Checks/cm_cxx_unique_ptr.cxx

7 lines
84 B
C++

#include <memory>
int main()
{
std::unique_ptr<int> u(new int(0));
return *u;
}