http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47604
Summary: GCC doesn't accept "auto *f() -> int", but only accepts "auto f() -> int". Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: schaub.johan...@googlemail.com GCC does not like the following auto *f() -> int; "error: 'f' function with late return type has 'auto*' as its type rather than plain 'auto'" Nothing in N3225 forbids that, AFAICS. See also http://llvm.org/bugs/show_bug.cgi?id=9132