* lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
[binutils-gdb.git] / gdb / testsuite / gdb.base / langs2.cxx
1 extern "C" int csub (int);
2 int
3 foo (int x)
4 {
5 return csub (x / 2);
6 }
7
8 extern "C" int cppsub_ (int);
9 int
10 cppsub_ (int *y)
11 {
12 return foo (*y);
13 }