]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.base/langs0.c
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / langs0.c
CommitLineData
c44c67b5
JK
1/* This file is actually in C, it is not supposed to simulate something
2 translated from another language or anything like that. */
3int
4csub (x)
5 int x;
6{
7 return x + 1;
8}
9
10int
11langs0__2do ()
12{
13 return fsub_ () + 2;
14}
15
16int
17main ()
18{
19 if (langs0__2do () == 5003)
20 /* Success. */
21 return 0;
22 else
23 return 1;
24}