re PR c++/46696 ([C++0x] Implicit copy constructor can't construct array of subtype...
authorJason Merrill <jason@redhat.com>
Wed, 25 May 2011 19:51:44 +0000 (15:51 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 25 May 2011 19:51:44 +0000 (15:51 -0400)
commit5e24286319abceaee8846843c89c5c6332d25e51
tree3bd3821df070c4649761cd59fd8facb8757ddba2
parent636e368d17f866add3270e482e722c335b453c98
re PR c++/46696 ([C++0x] Implicit copy constructor can't construct array of subtype with user-defined copy constructor.)

PR c++/46696
* typeck.c (cp_build_modify_expr): Check DECL_DEFAULTED_FN.

From-SVN: r174226
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted29.C [new file with mode: 0644]