xref: /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/langs2.c (revision 9d2109275e137f9027abb05e859af639830e18f5)
1 /* This is intended to be a vague simulation of cfront output.  */
2 #line 1 "langs2.cxx"
3 extern int csub (int);
4 int
foo__Fi(int x)5 foo__Fi (int x)
6 {
7   return csub (x / 2);
8 }
9 
10 extern int cppsub_ (int *y);
11 int
cppsub_(int * y)12 cppsub_ (int * y)
13 {
14   return foo__Fi (*y);
15 }
16