re PR c++/11149 (ICE on error when instantiation with call function of a base type)
authorMark Mitchell <mark@codesourcery.com>
Tue, 1 Jul 2003 17:36:00 +0000 (17:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Jul 2003 17:36:00 +0000 (17:36 +0000)
commit62bfce90da38001c15c416e3a605b1ed2ad7049f
treee759765f002989b910b272e3f75bc1701cf087b7
parentf64f3e74b9d2260a9e7bd3cf23c2e429876b327e
re PR c++/11149 (ICE on error when instantiation with call function of a base type)

PR c++/11149
* call.c (resolve_scoped_fn_name): Check that the qualifying scope
is a class type.

PR c++/11149
* g++.dg/lookup/scoped6.C: New test.

From-SVN: r68782
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/scoped6.C [new file with mode: 0644]