diff options
Diffstat (limited to 'gdb/testsuite/gdb.c++/local.cc')
-rw-r--r-- | gdb/testsuite/gdb.c++/local.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.c++/local.cc b/gdb/testsuite/gdb.c++/local.cc index 5bfc44ac43b..85fd6e14a87 100644 --- a/gdb/testsuite/gdb.c++/local.cc +++ b/gdb/testsuite/gdb.c++/local.cc @@ -4,6 +4,9 @@ void marker1 (void) { } +void marker2 (void) +{ +} int foobar (int x) { @@ -20,6 +23,8 @@ int foobar (int x) static Local l1; char c; + marker1 (); + l.loc1 = 23; c = l.loc_foo('x'); @@ -56,6 +61,6 @@ int main() il.ilc = 'b'; il.ip = &c; - marker1(); + marker2(); } } |