diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-03 00:15:53 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 11:05:55 +0200 |
commit | ac3a1b14c0235cb21b1cce445269426e84e46ae1 (patch) | |
tree | 7d2367774917b32721fe57852e3eda0659b50744 /Tests/CompileFeatures/cxx_deleted_functions.cpp | |
parent | 91f3699000084804100a782e93509a3a53adc2a8 (diff) | |
download | cmake-ac3a1b14c0235cb21b1cce445269426e84e46ae1.tar.gz |
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 0000000000..4ecb1e9d5e --- /dev/null +++ b/Tests/CompileFeatures/cxx_deleted_functions.cpp @@ -0,0 +1,6 @@ + +struct A +{ + A(const A&) = delete; + A& operator=(const A&) = delete; +}; |