Commit e5df9bfc by Fabien Chêne

re PR c++/51188 (invalid static_cast from type 'XBase' to type 'int')

gcc/testsuite/ChangeLog

2011-11-18  Fabien Chene  <fabien@gcc.gnu.org>

	PR c++/51188
	* g++.dg/lookup/using46.C: New.
	* g++.dg/lookup/using47.C: New.
	* g++.dg/lookup/using48.C: New.
	* g++.dg/lookup/using49.C: New.
	* g++.dg/lookup/using50.C: New.

gcc/cp/ChangeLog

2011-11-18  Fabien Chene  <fabien@gcc.gnu.org>

	PR c++/51188
	* search.c (lookup_field_1): Handle USING_DECLs for the storted
	case.

From-SVN: r181492
parent f32c951e
2011-11-18 Fabien Chêne <fabien@gcc.gnu.org>
PR c++/51141
PR c++/51188
* search.c (lookup_field_1): Handle USING_DECLs for the storted
case.
......
2011-11-18 Fabien Chêne <fabien@gcc.gnu.org>
PR c++/51141
PR c++/51188
* g++.dg/lookup/using46.C: New.
* g++.dg/lookup/using47.C: New.
* g++.dg/lookup/using48.C: New.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment