cmake/Source/Checks/cm_cxx14_check.cpp
2018-10-28 12:09:07 +01:00

9 lines
103 B
C++

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