This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55002] trailing return type is rejected in function signature
- From: "leonid at volnitsky dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Oct 2012 19:20:00 +0000
- Subject: [Bug c++/55002] trailing return type is rejected in function signature
- Auto-submitted: auto-generated
- References: <bug-55002-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55002
--- Comment #1 from Leonid Volnitsky <leonid at volnitsky dot com> 2012-10-20 19:20:00 UTC ---
I've probably overcomplicated my example. Simpler test case:
----------------------------------
int f(auto (*ff) -> int (int) ) {
return ff(1);
}
----------------------------------