diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-03 20:54:43 +0000 |
commit | 1684382a9110efd6523ce304cb99c869053323c8 (patch) | |
tree | 40364f6d12e4c278425f9de47c2f4e15c98e8076 /gdb/testsuite/gdb.gdbtk/simple.c | |
parent | 2729fb2483899a9b69e0d73500c79373156f27a7 (diff) | |
download | gdb-cvs/cagney_writestrings-20030508-branch.tar.gz |
Snap const char * mess.cvs/cagney_writestrings-20030508-branchcagney_writestrings-20030508-branch
Diffstat (limited to 'gdb/testsuite/gdb.gdbtk/simple.c')
-rw-r--r-- | gdb/testsuite/gdb.gdbtk/simple.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/testsuite/gdb.gdbtk/simple.c b/gdb/testsuite/gdb.gdbtk/simple.c deleted file mode 100644 index 969f6880636..00000000000 --- a/gdb/testsuite/gdb.gdbtk/simple.c +++ /dev/null @@ -1,20 +0,0 @@ -int -main(int argc, char * argv[]) -{ - int i; - char *a; - char *b = "abc"; - long foo; - - a = (char *) malloc (300); - - for (i=0; i < 50; i++) - { - int j = i % 3; - int k = 3 - j; - strncpy (&a[i], &b[k], j); - foo = (long) j * k / i + 2 * k * k * k; - } - return 0; -} - |