gcc/libstdc++-v3/testsuite/27_io
Mark Mitchell 4f8163b19c re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor)
PR c++/12226
	* call.c (CHECK_COPY_CONSTRUCTOR_P): New macro.
	(reference_binding): Set it when appropriate.
	(build_temp): New function, split out from ...
	(convert_like_real): ... here.  Honor CHECK_COPY_CONSTRUCTOR_P.
	(initialize_reference): Likewise.

	PR c++/12226
	* g++.dg/init/copy7.c: New test.

	PR c++/12226
	* testsuite/27_io/basic_filebuf/4.cc: Remove use of invalid copy
	constructor.
	* testsuite/27_io/basic_fstream/4.cc: Likewise.
	* testsuite/27_io/basic_ifstream/4.cc: Likewise.
	* testsuite/27_io/basic_ios/4.cc: Likewise.
	* testsuite/27_io/basic_iostream/4.cc: Likewise.
	* testsuite/27_io/basic_istream/4.cc: Likewise.
	* testsuite/27_io/basic_istingstream/4.cc: Likewise.
	* testsuite/27_io/basic_ofstream/4.cc: Likewise.
	* testsuite/27_io/basic_ostream/4.cc: Likewise.
	* testsuite/27_io/basic_ostringstream/4.cc: Likewise.
	* testsuite/27_io/basic_stringbuf/5.cc: Likewise.
	* testsuite/27_io/basic_stringstream/4.cc: Likewise.

	PR c++/13536
	* parser.c (cp_parser): Add in_type_id_in_expr_p.
	(cp_parser_new): Initialize it.
	(cp_parser_postfix_expression): Set it.
	(cp_parser_sizeof_operand): Likewise.
	(cp_parser_parameteR_declaration): Do not commit early to tenative
	parsers when in_type_id_in_expr_p is set.

	PR c++/13536
	* g++.dg/parse/cast1.C: New test.

From-SVN: r75397
2004-01-04 22:42:22 +00:00
..
basic_filebuf re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_fstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_ifstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_ios re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_iostream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_istream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_istringstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_ofstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_ostream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_ostringstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_streambuf re PR libstdc++/13007 (basic_streambuf::pubimbue, imbue wrong) 2003-11-13 23:13:22 +00:00
basic_stringbuf re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
basic_stringstream re PR c++/12226 (g++ fails to enforce accessibility requirement for copy constructor) 2004-01-04 22:42:22 +00:00
fpos [multiple changes] 2003-10-16 22:37:53 +00:00
ios_base numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
manipulators numeric_limits.cc: Add _GLIBCXX_ASSERT to dg-options in testcases that use VERIFY. 2003-12-22 21:05:22 +00:00
objects Fix typo 2003-12-29 19:28:17 +00:00
types [multiple changes] 2003-10-16 22:37:53 +00:00