2 // g++ 1.37.1 bug 900404_07
4 // It is illegal to use a cast to attempt to convert an object type
5 // to a non-scalar type (e.g. an array type).
7 // g++ fails to properly flag as errors such illegal uses of array types.
9 // keywords: array types, casts, type conversion
11 typedef int array_type[10];
17 int i = *((array_type) *ap); /* { dg-error "" } missed */