PR c++/81236 - auto variable and auto function
authorJason Merrill <jason@redhat.com>
Thu, 15 Mar 2018 03:08:24 +0000 (23:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 15 Mar 2018 03:08:24 +0000 (23:08 -0400)
commitb149eb04c87823dc2f0b9f141fbbc149fd21598a
tree9a613c3cf8b5ba5489411f04e27d1c803a6df8a6
parente786e485a7e6dda1c6d0ecf8981edade93d73110
PR c++/81236 - auto variable and auto function

* pt.c (tsubst_baselink): Update the type of the BASELINK after
mark_used.

From-SVN: r258547
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp1y/auto-fn48.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1y/auto-fn49.C [new file with mode: 0644]