// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
auto int; // ok
const auto int; // expected-error {{function with trailing return type must specify return type 'auto', not 'const auto'}}
auto * int; // expected-error {{function with trailing return type must specify return type 'auto', not 'auto *'}}
auto ; // expected-error {{trailing return type may not be nested within parentheses}}
auto auto -> -> void; // ok: same as void (*(*e())())();