Initial creation of sourceware repository
This commit is contained in:
parent
cd946cff9e
commit
c906108c21
2470 changed files with 976797 additions and 0 deletions
13
gdb/testsuite/gdb.base/langs2.cxx
Normal file
13
gdb/testsuite/gdb.base/langs2.cxx
Normal file
|
@ -0,0 +1,13 @@
|
|||
extern "C" int csub (int);
|
||||
int
|
||||
foo (int x)
|
||||
{
|
||||
return csub (x / 2);
|
||||
}
|
||||
|
||||
extern "C" int cppsub_ (int *);
|
||||
int
|
||||
cppsub_ (int *y)
|
||||
{
|
||||
return foo (*y);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue