diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-02 21:07:48 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-04-02 21:07:48 +0000 |
commit | e6af6604b905435456f49cd4a37da0ce6e505c38 (patch) | |
tree | 29db664837314ef1ca093d041f5e6b4feac38af5 /test/CXX | |
parent | 219c2e20ffeec6f07eef9008ba10988774af43d7 (diff) |
PR10217 diagnostic fix: don't say 'copy constructor' when we mean
'copy assignment operator'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153897 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX')
-rw-r--r-- | test/CXX/special/class.copy/implicit-move.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/special/class.copy/implicit-move.cpp b/test/CXX/special/class.copy/implicit-move.cpp index 7c69dd8b87..b1b298e893 100644 --- a/test/CXX/special/class.copy/implicit-move.cpp +++ b/test/CXX/special/class.copy/implicit-move.cpp @@ -28,7 +28,7 @@ struct HasCopyAssignment { struct HasMoveConstructor { ThrowingCopy tc; HasMoveConstructor() noexcept; - HasMoveConstructor(HasMoveConstructor &&) noexcept; // expected-note {{deleted because 'HasMoveConstructor' has a user-declared move constructor}} + HasMoveConstructor(HasMoveConstructor &&) noexcept; // expected-note {{copy assignment operator is implicitly deleted because 'HasMoveConstructor' has a user-declared move constructor}} }; struct HasMoveAssignment { // expected-note {{implicit copy constructor}} |