rfg@paris.ics.uci.edu (Ron Guilmette) (02/08/90)
// cfront 2.0 bug 900205.02
// cfront disallows constructors to be defined which do not include
// initializations for reference members of their associated classes,
// however this is only checked for constructors which are defined within
// their associated class definitions.
int i;
class c0 {
int &int_ref;
public:
c0 () /* : int_ref(i) */ { /* ERROR - caught */
}
};
class c1 {
int &int_ref;
public:
c1 ();
};
c1::c1() /* : int_ref(i) */ { /* ERROR - missed */
}