re PR c++/50835 (Lvalue-ness of conditional operator results is incorrect in a function template)
PR c++/50835 * typeck.c (build_x_conditional_expr): Preserve lvalue/xvalueness. * tree.c (lvalue_kind) [NON_DEPENDENT_EXPR]: Return clk_ordinary in C++98. From-SVN: r181174
Showing
gcc/testsuite/g++.dg/template/lvalue2.C
0 → 100644
Please
register
or
sign in
to comment