diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-06-07 01:57:15 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-06-07 01:57:15 +0000 |
commit | ef44eed173353ff002da6fe92680e40068cd081f (patch) | |
tree | beeeaecb50227b8c1fe964debaf3c8f45bc9ac9a /gdb/testsuite/gdb.base/list0.c | |
parent | Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com) (diff) | |
download | binutils-gdb-ef44eed173353ff002da6fe92680e40068cd081f.tar.gz binutils-gdb-ef44eed173353ff002da6fe92680e40068cd081f.tar.bz2 binutils-gdb-ef44eed173353ff002da6fe92680e40068cd081f.zip |
Reorganized GDB tests - base
Diffstat (limited to 'gdb/testsuite/gdb.base/list0.c')
-rw-r--r-- | gdb/testsuite/gdb.base/list0.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/list0.c b/gdb/testsuite/gdb.base/list0.c new file mode 100644 index 00000000000..d888870fe44 --- /dev/null +++ b/gdb/testsuite/gdb.base/list0.c @@ -0,0 +1,39 @@ +#include "list0.h" + +main () +{ + int x; + + x = 0; + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); + foo (x++); +} + +static void +unused () +{ + /* Not used for anything */ +} |