rfg@paris.ics.uci.edu (Ronald Guilmette) (03/21/90)
// cfront 2.0 bug 900321_01
// cfront flags two errors for the following code on the lines indicated.
// I can see no reason for it to do so, and the C++ Reference Manual says
// nothing about this.
// Furthermore, if the typedef for type T is changed to define T as a
// builtin type (e.g. "int" rather that "class c") the errors do not occur.
typedef class c T;
typedef T array_of_Ts[];
typedef T array_of_3_Ts[3];
array_of_Ts *p1;
array_of_3_Ts *p2;
void function ()
{
delete p1; // gets bogus error
delete p2; // gets bogus error
}
int main () { return 0; }