[Bug c++/38517] Uninitialized reference variable is accepted after an extern declaration
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 16 19:20:00 GMT 2008
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-16 19:18 -------
Simple testcase:
extern int& i;
int& i; // ERROR: this is not ok
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Keywords| |accepts-invalid
Last reconfirmed|0000-00-00 00:00:00 |2008-12-16 19:18:00
date| |
Summary|At definition of the empty |Uninitialized reference
|reference the error is not |variable is accepted after
|output. |an extern declaration
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38517
More information about the Gcc-bugs
mailing list