1 // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11
2 
f()3 void f() {
4   int b[5];
5   auto a[5] = b; // expected-error{{'a' declared as array of 'auto'}}
6   auto *c[5] = b; // expected-error{{'c' declared as array of 'auto *'}}
7 }
8