re PR c++/58255 ([C++11] explicit delegating constructor with no arguments wrongly...
authorPaolo Carlini <paolo.carlini@oracle.com>
Wed, 28 Aug 2013 22:40:34 +0000 (22:40 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 28 Aug 2013 22:40:34 +0000 (22:40 +0000)
commit1ca66f7efec0dd2977b190a11f5ce8642a1e90b2
tree41777c2f01235f1edc02affaed8dd5c2c337c778
parentb208ba405685dc77a095a22db323323abb3bf846
re PR c++/58255 ([C++11] explicit delegating constructor with no arguments wrongly rejected)

/cp
2013-08-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58255
* init.c (build_aggr_init): When init == void_type_node do not
set LOOKUP_ONLYCONVERTING.

/testsuite
2013-08-28  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/58255
* g++.dg/cpp0x/dc7.C: New.

From-SVN: r202061
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/dc7.C [new file with mode: 0644]