1*b725ae77Skettenis /* This testcase is part of GDB, the GNU debugger.
2*b725ae77Skettenis
3*b725ae77Skettenis Copyright 2004 Free Software Foundation, Inc.
4*b725ae77Skettenis
5*b725ae77Skettenis This program is free software; you can redistribute it and/or modify
6*b725ae77Skettenis it under the terms of the GNU General Public License as published by
7*b725ae77Skettenis the Free Software Foundation; either version 2 of the License, or
8*b725ae77Skettenis (at your option) any later version.
9*b725ae77Skettenis
10*b725ae77Skettenis This program is distributed in the hope that it will be useful,
11*b725ae77Skettenis but WITHOUT ANY WARRANTY; without even the implied warranty of
12*b725ae77Skettenis MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*b725ae77Skettenis GNU General Public License for more details.
14*b725ae77Skettenis
15*b725ae77Skettenis You should have received a copy of the GNU General Public License
16*b725ae77Skettenis along with this program; if not, write to the Free Software
17*b725ae77Skettenis Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18*b725ae77Skettenis
19*b725ae77Skettenis Please email any bugs, comments, and/or additions to this file to:
20*b725ae77Skettenis bug-gdb@prep.ai.mit.edu */
21*b725ae77Skettenis
22*b725ae77Skettenis #include <stdio.h>
23*b725ae77Skettenis
24*b725ae77Skettenis int k = 0;
25*b725ae77Skettenis
26*b725ae77Skettenis extern void pendfunc (int x);
27*b725ae77Skettenis
main()28*b725ae77Skettenis int main()
29*b725ae77Skettenis {
30*b725ae77Skettenis pendfunc (3); /* break main here */
31*b725ae77Skettenis pendfunc (4);
32*b725ae77Skettenis k = 1;
33*b725ae77Skettenis pendfunc (3);
34*b725ae77Skettenis return 0;
35*b725ae77Skettenis }
36