Initial revision
[binutils.git] / binutils / testsuite / binutils-all / testprog.c
blob210656b44877c2b7fa408a978ff25d78fd1622a5
1 /* This program is used to test objcopy and strip. */
3 int common;
4 int global = 1;
5 static int local = 2;
6 static char string[] = "string";
8 int
9 fn ()
11 return 3;
14 int
15 main ()
17 if (common != 0
18 || global != 1
19 || local != 2
20 || strcmp (string, "string") != 0)
22 printf ("failed\n");
23 exit (1);
26 printf ("ok\n");
27 exit (0);