summaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/testprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/testprog.c')
-rw-r--r--binutils/testsuite/binutils-all/testprog.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/binutils/testsuite/binutils-all/testprog.c b/binutils/testsuite/binutils-all/testprog.c
deleted file mode 100644
index 57de4610a60..00000000000
--- a/binutils/testsuite/binutils-all/testprog.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* This program is used to test objcopy and strip. */
-
-#include <stdio.h>
-#include <string.h>
-
-int common;
-int global = 1;
-static int local = 2;
-static char string[] = "string";
-
-int
-fn ()
-{
- return 3;
-}
-
-int
-main ()
-{
- if (common != 0
- || global != 1
- || local != 2
- || strcmp (string, "string") != 0)
- {
- printf ("failed\n");
- return (1);
- }
-
- printf ("ok\n");
- return (0);
-}