re PR c++/18354 (expression "+1" not considered constant (as template parameter).)
PR c++/18354 * typeck.c (build_unary_op) <CONVERT_EXPR, NEGATE_EXPR>: Unify code. Make sure the result is always a rvalue. PR c++/18354 * g++.dg/template/nontype11.C: New test. From-SVN: r91008
Showing
gcc/testsuite/g++.dg/template/nontype11.C
0 → 100644
Please
register
or
sign in
to comment