diff options
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/test/buriedassign.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/buriedassign.cxx b/compilerplugins/clang/test/buriedassign.cxx index 9cbdbfc49df9..d75c519f4c4a 100644 --- a/compilerplugins/clang/test/buriedassign.cxx +++ b/compilerplugins/clang/test/buriedassign.cxx @@ -43,6 +43,7 @@ struct MyInt : x(i) { } + MyInt(MyInt const&) = default; MyInt& operator=(MyInt const&) = default; MyInt& operator=(int) { return *this; } bool operator<(MyInt const& other) const { return x < other.x; } |