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