Initial creation of sourceware repository
This commit is contained in:
parent
cd946cff9e
commit
c906108c21
2470 changed files with 976797 additions and 0 deletions
28
gdb/testsuite/gdb.base/langs0.c
Normal file
28
gdb/testsuite/gdb.base/langs0.c
Normal file
|
@ -0,0 +1,28 @@
|
|||
/* This file is actually in C, it is not supposed to simulate something
|
||||
translated from another language or anything like that. */
|
||||
int
|
||||
csub (x)
|
||||
int x;
|
||||
{
|
||||
return x + 1;
|
||||
}
|
||||
|
||||
int
|
||||
langs0__2do ()
|
||||
{
|
||||
return fsub_ () + 2;
|
||||
}
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
#ifdef usestubs
|
||||
set_debug_traps();
|
||||
breakpoint();
|
||||
#endif
|
||||
if (langs0__2do () == 5003)
|
||||
/* Success. */
|
||||
return 0;
|
||||
else
|
||||
return 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue