OSDN Git Service

PR c++/46382
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 03:54:24 +0000 (03:54 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Nov 2010 03:54:24 +0000 (03:54 +0000)
commitfdf548d1e8468c5dd27793e980e610bab0e453e3
tree98fb4d94e9d9d03d85c305dab606ebd564af92c9
parent108ad6a33ff0e9aa0a990cfca9cd2e237030e27f
PR c++/46382
* semantics.c (check_constexpr_ctor_body): New fn.
* parser.c (cp_parser_ctor_initializer_opt_and_function_body): Call it.
* cp-tree.h: Declare it.

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