Converted the array of breakpoints to a QPtrVector.
[kdbg.git] / kdbg / testprogs / locals.cpp
blobed2cf1e77395162e0a1180189936df1192c9e2df
1 #include <stdio.h>
4 // a function that has args but no locals
6 static int nolocals(int argc, char** argv)
8 printf("argc=%d, argv[0]=%s\n", argc, argv[0]);
12 // a function that has no args but locals
14 static int noargs()
16 int c = 1;
17 char* pgm[] = { "foo", 0 };
18 nolocals(c, pgm);
22 int main(int argc, char** argv)
24 noargs();
25 nolocals(argc, argv);