diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-06 09:22:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-08 09:05:58 (GMT) |
commit | 60c0d2dd812af663b2b009a253072dc481b604fe (patch) | |
tree | 99fe4228ce2a1228bd7de5c622de3df284ee073f /Tests | |
parent | c4e672358c4945e78234b8c7075924c80750d61b (diff) | |
download | CMake-60c0d2dd812af663b2b009a253072dc481b604fe.zip CMake-60c0d2dd812af663b2b009a253072dc481b604fe.tar.gz CMake-60c0d2dd812af663b2b009a253072dc481b604fe.tar.bz2 |
Features: Add cxx_defaulted_move_initializers.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CompileFeatures/cxx_defaulted_move_initializers.cpp | 7 |
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; +}; |