xref: /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/langs2.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
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