home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gdb-4.9 / gdb / testsuite / gdb.t08 / gdbme0.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-12  |  411 b   |  17 lines

  1. /*  Note that struct foo is opaque (never defined) in this file.  This
  2.     is allowed by C since this file does not reference any members of
  3.     the structure.  The debugger needs to be able to associate this
  4.     opaque structure definition with the full definition in another
  5.     file.
  6. */
  7.  
  8. struct foo *foop;
  9. extern struct foo *getfoo ();
  10.  
  11. int main ()
  12. {
  13.     foop = getfoo ();
  14.     putfoo (foop);
  15.     return 0;
  16. }
  17.