https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53506
Andrew Pinski changed:
What|Removed |Added
Depends on||66670
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53506
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53506
--- Comment #1 from Jonathan Wakely 2012-05-28
09:31:33 UTC ---
4.6 only rejects the first one:
t.cc: In function 'int main()':
t.cc:17:18: error: no matching function for call to 'A::a(int (&)(int,
int), int)'
t.cc:17:18: note: candidate is:
t.