From c906108c21474dfb4ed285bcc0ac6fe02cd400cc Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 16 Apr 1999 01:35:26 +0000 Subject: Initial creation of sourceware repository --- gdb/testsuite/gdb.base/langs2.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gdb/testsuite/gdb.base/langs2.c (limited to 'gdb/testsuite/gdb.base/langs2.c') diff --git a/gdb/testsuite/gdb.base/langs2.c b/gdb/testsuite/gdb.base/langs2.c new file mode 100644 index 0000000..be2a60c --- /dev/null +++ b/gdb/testsuite/gdb.base/langs2.c @@ -0,0 +1,15 @@ +/* This is intended to be a vague simulation of cfront output. */ +#line 1 "langs2.cxx" +extern int csub (); +int +foo__Fi (x) int x; +{ + return csub (x / 2); +} + +extern int cppsub_ (); +int +cppsub_ (y) int *y; +{ + return foo__Fi (*y); +} -- cgit v1.1