2d8c5d7cdd
* gdb.base/label.c (main): Correct the type of the second parameter.
22 lines
207 B
C
22 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;
|
|
}
|
|
|