PR c++/70528
commiteb40296f6fb8d0fe539da393a1a9fb1cf5407233
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2016 02:23:05 +0000 (15 02:23 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2016 02:23:05 +0000 (15 02:23 +0000)
treec7a53813d3d706b0dc74aadf3bfb2d89e39d703d
parent608f57dc048b773ce2b6814a9456fe9618236aaf
PR c++/70528

* class.c (type_has_constexpr_default_constructor): Return true
for an implicitly declared constructor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235002 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/g++.dg/cpp0x/constexpr-ctor12.C
gcc/testsuite/g++.dg/cpp0x/constexpr-default-ctor.C
gcc/testsuite/g++.dg/cpp0x/constexpr-ice6.C
gcc/testsuite/g++.dg/cpp0x/inh-ctor19.C
gcc/testsuite/g++.dg/cpp0x/pr70528.C [new file with mode: 0644]