This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/40293] reference can be initialized by itself



------- Comment #1 from pentek dot imre at gmail dot com  2009-05-29 13:00 -------
The same applies to this code:

#include <iostream>

using namespace std;

int main()
 {
  int &x=x;
  x=0;
  cerr<<x<<endl;
 }


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40293


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]