]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/testsuite/binutils-all/testprog.c
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / binutils / testsuite / binutils-all / testprog.c
CommitLineData
febc1fc3
ILT
1/* This program is used to test objcopy and strip. */
2
3int common;
4int global = 1;
5static int local = 2;
6static char string[] = "string";
7
8int
9fn ()
10{
11 return 3;
12}
13
14int
15main ()
16{
17 if (common != 0
18 || global != 1
19 || local != 2
20 || strcmp (string, "string") != 0)
21 {
22 printf ("failed\n");
23 exit (1);
24 }
25
26 printf ("ok\n");
27 exit (0);
28}