repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gdb/riscv: Add command to switch between numeric & abi register names
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.base
/
langs0.c
blob
41e5d38c7a2b892d8d40c670b5663c83cfef2404
1
/* This file is actually in C, it is not supposed to simulate something
2
translated from another language or anything like that. */
3
extern
int
fsub_
();
4
5
int
csub
(
int
x
)
6
{
7
return
x
+
1
;
8
}
9
10
int
11
langs0__2do
()
12
{
13
return
fsub_
() +
2
;
14
}
15
16
int
17
main
()
18
{
19
if
(
langs0__2do
() ==
5003
)
20
/* Success. */
21
return
0
;
22
else
23
return
1
;
24
}