re PR c++/84596 (internal compiler error: unexpected expression '(bool)c' of…
re PR c++/84596 (internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)) PR c++/84596 * constexpr.c (require_rvalue_constant_expression): New function. * cp-tree.h: Declare it. * semantics.c (finish_static_assert): Use it instead of require_potential_rvalue_constant_expression. * g++.dg/cpp0x/static_assert14.C: New test. From-SVN: r258107
Showing
gcc/testsuite/g++.dg/cpp0x/static_assert14.C
0 → 100644
Please
register
or
sign in
to comment