Path: utzoo!attcan!uunet!cs.utexas.edu!usc!orion.oac.uci.edu!uci-ics!gateway From: rfg@paris.ics.uci.edu (Ron Guilmette) Newsgroups: comp.lang.c++ Subject: cfront 2.0 bug 900205.01 Message-ID: <25D0BEE3.1454@paris.ics.uci.edu> Date: 8 Feb 90 00:35:48 GMT Organization: UC Irvine Department of ICS Lines: 13 // cfront 2.0 bug 900205 // A reference to the sizeof() an enum type within the definition of // that type itself is tolerated only if the type designation does not // include the keyword `enum'. enum e0 { enum0_enumerator_0, enum0_enumerator_1 = sizeof (e0), // accepted enum0_enumerator_2 = sizeof (enum e0), // rejected - forward decl? enum0_enumerator_3 };