2d8c5d7cdd
* gdb.base/label.c (main): Correct the type of the second parameter.
21 lines
207 B
C
21 lines
207 B
C
#include <stdio.h>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
int i = 0;
|
|
goto there;
|
|
|
|
here:
|
|
printf("not here\n");
|
|
i = 1;
|
|
|
|
there:
|
|
printf("but here\n");
|
|
if (i == 0)
|
|
goto here;
|
|
|
|
done:
|
|
return 0;
|
|
}
|
|
|