PR c++/70229
commit810702a29709b48ef87c716c44bb957d0c323851
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2016 07:47:50 +0000 (4 07:47 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Aug 2016 07:47:50 +0000 (4 07:47 +0000)
treed15afcd494f4ffb17686aa081db652476c463186
parentfa8a8f794330455a0c3291794bca506d20899ab5
PR c++/70229
* constexpr.c (check_constexpr_ctor_body_1): Allow typedef
declarations.

* g++.dg/cpp0x/constexpr-ctor19.C: New test.

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