* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
[binutils-gdb.git] / gdb / testsuite / gdb.base / langs2.c
1 /* This is intended to be a vague simulation of cfront output. */
2 #line 1 "langs2.cxx"
3 extern int csub ();
4 int
5 foo__Fi (x) int x;
6 {
7 return csub (x / 2);
8 }
9
10 extern int cppsub_ (int *);
11 int
12 cppsub_ (y) int *y;
13 {
14 return foo__Fi (*y);
15 }