re PR c++/10245 (?: operator requires public copy constructor of return type)
authorJason Merrill <jason@gcc.gnu.org>
Sat, 29 Mar 2003 00:50:46 +0000 (19:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 29 Mar 2003 00:50:46 +0000 (19:50 -0500)
commitff77a44171a828654464107a574edfd2e05040d3
treeaeb17e6dc32578544e556710b77ca5a59624bf8b
parentf7b9026e22187c0467cfbb7822790ed81ec8b46c
re PR c++/10245 (?: operator requires public copy constructor of return type)

        PR c++/10245
        * cvt.c (force_rvalue): New fn.
        * call.c (build_conditional_expr): Use it.
        * cp-tree.h: Declare it.

[[Split portion of a mixed commit.]]

From-SVN: r65006.2
gcc/testsuite/g++.dg/conversion/cond2.C [new file with mode: 0644]