/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Apr 2012 23:32:14 +0000 (23:32 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Apr 2012 23:32:14 +0000 (23:32 +0000)
commit2eb359ba4ddcfafb7965bb04fcdd1aa435e253b3
treedcf120c2e03b88960b03842a63d33845340766ed
parentfdb1b2b1b851c7da7b2027403c4833abdaa1fa8b
/cp
2012-04-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53096
* class.c (check_bases_and_members): Implement core/1333, do not
disallow defaulted in the class body non-const ref special members.

/testsuite
2012-04-26  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/53096
* g++.dg/cpp0x/defaulted35.C: New.
* g++.dg/cpp0x/defaulted15.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186888 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted15.C
gcc/testsuite/g++.dg/cpp0x/defaulted35.C [new file with mode: 0644]