constexpr-diag5.C
617 Bytes
-
PR c++/51633 - ICEs with constexpr constructor · 1cef7102
gcc/cp/ PR c++/51633 * semantics.c (cp_parser_ctor_initializer_opt_and_function_body): Set the pointer to the last block of the constructor to the current statement. (build_constexpr_constructor_member_initializers): Get build_data_member_initialization a chance to deal with more statements before we choke. gcc/testsuite/ PR c++/51633 * g++.dg/cpp0x/constexpr-diag4.C: New test. From-SVN: r183144
Dodji Seketeli committed