1 // PR c++/50054
2 // { dg-do compile { target c++11 } }
3 
g(const int & (a)[1])4 void g( const int& (a)[1] ) {}	// { dg-error "21:declaration of .a. as array of references" }
5 
main()6 int main () {
7     g( { 1, 2 } );		// { dg-error "initializer list" }
8 }
9