gcc/libstdc++-v3/testsuite/20_util/forward
Jason Merrill d02f620dc0 re PR c++/20332 (poor diagnostic when bind non lvalue to a reference for default arguments)
PR c++/20332
	PR c++/21631
	* call.c (reference_binding): Treat lvalue/rvalue mismatch and
	dropped cv-quals as a bad conversion.
	(convert_like_real) [ck_ref_bind]: Explain them.
	(compare_ics): Check badness before stripping reference
	bindings.  Handle comparing bad reference bindings.
	* typeck.c (comp_cv_qualification): Add overload that just takes
	integers.
	* cp-tree.h: Declare it.

From-SVN: r210436
2014-05-14 12:48:07 -04:00
..
requirements Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
1.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
1_neg.cc re PR c++/20332 (poor diagnostic when bind non lvalue to a reference for default arguments) 2014-05-14 12:48:07 -04:00
a.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
b.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
c_neg.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
d.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
e.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
f_neg.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00