While I was looking at this issue in January, I noticed that
resolve_address_of_overloaded_function wasn't accepting a reference to
function type, which it seems like it ought to handle.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit 9839aa98a3c80c73e904b657499e6fce7d43a25d
Author: Jason
We were assuming well-formed code.
Tested x86_64-pc-linux-gnu, applying to trunk.
commit dc80cbbc639c39dd8728aa14d6188bcd9061bfd0
Author: Jason Merrill
Date: Fri Jan 25 06:15:26 2013 -0500
PR c++/56095
* pt.c (convert_nontype_argument_function): Handle invalid input.
(convert_n