aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-07 01:57:15 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-07 01:57:15 +0000
commitef44eed173353ff002da6fe92680e40068cd081f (patch)
treebeeeaecb50227b8c1fe964debaf3c8f45bc9ac9a /gdb/testsuite/gdb.base/list0.c
parentMon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com) (diff)
downloadbinutils-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.c39
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 */
+}