Lines Matching full:auto
3 auto a() -> int; // ok
4 const auto b() -> int; // expected-error {{function with trailing return type must specify return type 'auto', not 'auto const'}}
5 auto *c() -> int; // expected-error {{function with trailing return type must specify return type 'auto', not 'auto *'}}
6 auto (d() -> int); // expected-error {{trailing return type may not be nested within parentheses}}
7 auto e() -> auto (*)() -> auto (*)() -> void; // ok: same as void (*(*e())())();