csrbq@warwick.ac.uk (Mark Rafter) (07/28/90)
// bug in cfront 2.0 and 2.1
// access to protected and private constructors
// is not enforced in array declarations
class X { protected: X(); }; // also goes wrong using private
main()
{
X a[10]; // should be illegal but isn't -- ERROR
X *p = new X[10]; // illegal -- good
X x; // illegal -- good
}