summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_deleted_functions.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-02 22:15:53 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:55 (GMT)
commitac3a1b14c0235cb21b1cce445269426e84e46ae1 (patch)
tree7d2367774917b32721fe57852e3eda0659b50744 /Tests/CompileFeatures/cxx_deleted_functions.cpp
parent91f3699000084804100a782e93509a3a53adc2a8 (diff)
downloadCMake-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.cpp6
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;
+};