1// { dg-do assemble  }
2// g++ 1.37.1 bug 900519_07
3
4// It is illegal to specify or to use array-of-reference types, yet g++
5// allows them to be specified (in typedef statements and in declarations)
6// and to be used (in declarations).
7
8// keywords: reference types, array types
9
10int i;
11int j;
12
13typedef int& int_ref;
14typedef int_ref int_ref_array_type[2];		// { dg-error "" } missed
15
16int& int_ref_array_obj0[2] = { i, j };		// { dg-error "" } missed
17int_ref int_ref_array_obj1[2] = { i, j };	// { dg-error "" } missed
18