* gdb.c++/local.exp: Don't expect Local to be in scope in main;
authorJim Blandy <jimb@codesourcery.com>
Wed, 5 Feb 2003 05:48:46 +0000 (05:48 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 5 Feb 2003 05:48:46 +0000 (05:48 +0000)
commit6b5497864abcc0b4b875c21bc7224e0888033fb8
tree050832fdb9594e6bcc1b19b83627bcdbed47ce4a
parent5d83691bdf25f359697f6518ec0cf2cf82d6b725
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
it's local to foobar.  Check for it there, and check that it's not
present in main.
* gdb.c++/local.cc (marker2): New function.
(foobar): Call marker1.
(main): Call marker2 instead of marker1.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.c++/local.cc
gdb/testsuite/gdb.c++/local.exp