egcs-980517 bug report
Alexandre Oliva
oliva@dcc.unicamp.br
Fri May 22 09:30:00 GMT 1998
Brendan Kehoe <brendan@cygnus.com> writes:
>> I think the following C++ code should not compile
>> union U { U(); int & ri; };
I believe the point is that a union shouldn't have members like
references, that don't have trivial constructors.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list