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
This commit is contained in:
Fabien Chêne 2011-11-18 21:32:04 +01:00
parent f32c951e2c
commit e5df9bfc89
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
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.

View file

@ -1,6 +1,6 @@
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.