summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-04-06 09:22:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-04-08 09:05:58 (GMT)
commit60c0d2dd812af663b2b009a253072dc481b604fe (patch)
tree99fe4228ce2a1228bd7de5c622de3df284ee073f /Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp
parentc4e672358c4945e78234b8c7075924c80750d61b (diff)
downloadCMake-60c0d2dd812af663b2b009a253072dc481b604fe.zip
CMake-60c0d2dd812af663b2b009a253072dc481b604fe.tar.gz
CMake-60c0d2dd812af663b2b009a253072dc481b604fe.tar.bz2
Features: Add cxx_defaulted_move_initializers.
Diffstat (limited to 'Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp b/Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp
new file mode 100644
index 0000000..14f9871
--- /dev/null
+++ b/Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp
@@ -0,0 +1,7 @@
+
+struct A
+{
+ A() = default;
+ A& operator=(A&&) = default;
+ A(A&&) = default;
+};