This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/55002] trailing return type is rejected in function signature


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);
}
----------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]