diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-02 22:15:53 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:55 (GMT) |
commit | ac3a1b14c0235cb21b1cce445269426e84e46ae1 (patch) | |
tree | 7d2367774917b32721fe57852e3eda0659b50744 /Tests/CompileFeatures/cxx_deleted_functions.cpp | |
parent | 91f3699000084804100a782e93509a3a53adc2a8 (diff) | |
download | CMake-ac3a1b14c0235cb21b1cce445269426e84e46ae1.zip CMake-ac3a1b14c0235cb21b1cce445269426e84e46ae1.tar.gz CMake-ac3a1b14c0235cb21b1cce445269426e84e46ae1.tar.bz2 |
Features: Add cxx_deleted_functions.
Diffstat (limited to 'Tests/CompileFeatures/cxx_deleted_functions.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_deleted_functions.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_deleted_functions.cpp b/Tests/CompileFeatures/cxx_deleted_functions.cpp new file mode 100644 index 0000000..4ecb1e9 --- /dev/null +++ b/Tests/CompileFeatures/cxx_deleted_functions.cpp @@ -0,0 +1,6 @@ + +struct A +{ + A(const A&) = delete; + A& operator=(const A&) = delete; +}; |