1// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s 2 3auto f() -> int[32]; // expected-error{{function cannot return array}} 4auto g() -> int(int); // expected-error{{function cannot return function}} 5auto h() -> auto() -> int; // expected-error{{function cannot return function}} 6auto i() -> auto(*)() -> int; 7