old-cross-binutils/gdb/testsuite/gdb.base/args.c
Elena Zannoni 8f9ab80108 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/args.c: New file.
        * gdb.base/args.exp: New file.
2003-01-14 21:03:44 +00:00

12 lines
159 B
C

#include <stdio.h>
int
main (int argc, char **argv)
{
int i = 0;
printf ("%d\n", argc);
while (i < argc)
printf ("%s\n", argv[i++]);
return 0;
}