This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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++/16463] Global variable/class method name collision


https://sourceware.org/bugzilla/show_bug.cgi?id=16463

--- Comment #2 from Pedro Alves <palves at redhat dot com> ---
Or for completeness, printing 'foo' when stopped at 'bar', in:

file5.cc:
 int foo = 1;
 static int bar (void) { int foo = 2; return foo; }
 int main (void) { return bar (); }

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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