PR c++/72796 - wrong resolution of scoped method call.
authorJason Merrill <jason@redhat.com>
Thu, 4 Aug 2016 16:06:09 +0000 (12:06 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 4 Aug 2016 16:06:09 +0000 (12:06 -0400)
commit99676625e65ff23339115525f01a4a7a82e8ac3a
tree5637119cfcf0bcee6f44bd9687f53a18072bf622
parentc3f2032729e60c1d991c18ef56ec863322fe58ca
PR c++/72796 - wrong resolution of scoped method call.

* typeck.c (finish_class_member_access_expr): Avoid stripping
SCOPE_REF to dependent base.

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