re PR c++/46220 (Error: invalid covariant return type generated for incomplete class...
authorJason Merrill <jason@redhat.com>
Fri, 4 Mar 2011 15:17:55 +0000 (10:17 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 4 Mar 2011 15:17:55 +0000 (10:17 -0500)
commit38ffa8289c7d310de3e1d02b12133394a4fd950e
tree269bfa08de2425a9791eebce628816130abc5f6e
parent087070764a30f817bba64be783768e5489422ef0
re PR c++/46220 (Error: invalid covariant return type generated for incomplete class type and different qualifer)

PR c++/46220
* search.c (check_final_overrider): Allow pointer to same incomplete
class type with different cv-quals.

From-SVN: r170676
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/covariant19.C [new file with mode: 0644]