// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
auto int; // expected-error{{function cannot return array}}
auto int; // expected-error{{function cannot return function}}
auto auto -> int; // expected-error{{function cannot return function}}
auto auto -> int;