PR c++/89297 - ICE with OVERLOAD in template.
authorMarek Polacek <polacek@redhat.com>
Wed, 13 Feb 2019 21:39:18 +0000 (21:39 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 13 Feb 2019 21:39:18 +0000 (21:39 +0000)
commitf83fad402e6d6503a2322977837a9dba7edf68b8
tree42dd02c9db5e600aa2db2dec5da99441301d5846
parent10839133ce6c196c9f338086ede5b3b192fc1944
PR c++/89297 - ICE with OVERLOAD in template.

* semantics.c (finish_compound_literal): Call
instantiate_non_dependent_expr_sfinae.

* g++.dg/cpp0x/initlist113.C: New test.

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