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