Fix: Null pointer dereference in ldlex.l
[binutils-gdb.git] / gdb / testsuite / gdb.base / setshow.c
blobc8e843cb54bcb833d573120bd444efa96cb41bfb
1 /* IMPORTANT: leave this comment in the first line of this source file. */
2 /* this will guarantee that line 1 contains no code. */
4 #include <stdio.h>
6 int
7 main(int argc, char **argv)
9 int i = 1;
11 if (argc <= 0 || argc > 8)
12 return -1;
13 while (i < argc)
14 printf ("%s ", argv[i++]);
15 return 0;