import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / langs2.c
index be2a60cfbb85ea4ef1d815bdcf23ff335a2f21f7..502b80063f07916987045f1da146d019d274f2fd 100644 (file)
@@ -1,4 +1,20 @@
 /* This is intended to be a vague simulation of cfront output.  */
+#ifdef PROTOTYPES
+#line 1 "langs2.cxx"
+extern int csub (int);
+int
+foo__Fi (int x)
+{
+  return csub (x / 2);
+}
+
+extern int cppsub_ (int *y);
+int
+cppsub_ (int * y)
+{
+  return foo__Fi (*y);
+}
+#else 
 #line 1 "langs2.cxx"
 extern int csub ();
 int
@@ -13,3 +29,4 @@ cppsub_ (y) int *y;
 {
   return foo__Fi (*y);
 }
+#endif
This page took 0.041346 seconds and 4 git commands to generate.