diff options
Diffstat (limited to 'Source/Checks/cm_cxx14_check.cpp')
| -rw-r--r-- | Source/Checks/cm_cxx14_check.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Checks/cm_cxx14_check.cpp b/Source/Checks/cm_cxx14_check.cpp index f5806a9..9369ba2 100644 --- a/Source/Checks/cm_cxx14_check.cpp +++ b/Source/Checks/cm_cxx14_check.cpp @@ -1,5 +1,8 @@ #include <cstdio> +#include <memory> + int main() { - return 0; + std::unique_ptr<int> u(new int(0)); + return *u; } |
