PR c++/69223 - ICE with deduced template return type.
authorJason Merrill <jason@redhat.com>
Fri, 22 Jul 2016 03:45:54 +0000 (23:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Jul 2016 03:45:54 +0000 (23:45 -0400)
commit6781e2af709464df449604e222514f2d613e7666
tree5b9bf059950674f5a03e1b4a7239742e7e7a30ed
parent94ced5b494676c8763bb28fe615084c19cec1eb0
PR c++/69223 - ICE with deduced template return type.

* semantics.c (apply_deduced_return_type): Call
complete_type_or_else before building the new RESULT_DECL.

From-SVN: r238624
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-deduce3.C [new file with mode: 0644]