diff options
Diffstat (limited to 'libmudflap/testsuite/libmudflap.c/hook-allocstuff.c')
-rw-r--r-- | libmudflap/testsuite/libmudflap.c/hook-allocstuff.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libmudflap/testsuite/libmudflap.c/hook-allocstuff.c b/libmudflap/testsuite/libmudflap.c/hook-allocstuff.c deleted file mode 100644 index dc25375488d..00000000000 --- a/libmudflap/testsuite/libmudflap.c/hook-allocstuff.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -int main () -{ - char *foo = (char *) malloc (10); - strcpy (foo, "hello"); - foo = (char *) realloc (foo, 20); - printf ("%s", foo); - if (strcmp (foo, "hello")) - abort (); - free (foo); - printf (" world\n"); - return 0; -} -/* { dg-output "hello world" } */ |