PR c++/71209 - wrong error with dependent base
authorJason Merrill <jason@redhat.com>
Fri, 17 Jun 2016 16:35:33 +0000 (12:35 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 17 Jun 2016 16:35:33 +0000 (12:35 -0400)
commit92354dc7a9e87708bad1aac491292f5e41692a2e
treeaccb1eb9dec966da5642d859bc493b3138ff6ad5
parent4e53aa978d9b1363ae67e68a0d59f6ced94b3c6d
PR c++/71209 - wrong error with dependent base

* typeck.c (finish_class_member_access_expr): Avoid "not a base"
warning when there are dependent bases.

From-SVN: r237558
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/template/dependent-base1.C [new file with mode: 0644]