re PR c++/49172 ([C++0x][constexpr] References should be declarable with constexpr)
PR c++/49172 * decl.c (cp_finish_decl): Adjust init_const_expr_p for refs. (grokdeclarator): constexpr doesn't apply const for refs. * parser.c (cp_parser_initializer_clause): Don't call maybe_constant_value here. * call.c (initialize_reference): Handle constexpr. From-SVN: r175284
Showing
gcc/testsuite/g++.dg/cpp0x/constexpr-ref1.C
0 → 100644
gcc/testsuite/g++.dg/cpp0x/constexpr-ref2.C
0 → 100644
Please
register
or
sign in
to comment