mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-05 12:53:16 +08:00
17 lines
411 B
C
17 lines
411 B
C
/* Note that struct foo is opaque (never defined) in this file. This
|
|
is allowed by C since this file does not reference any members of
|
|
the structure. The debugger needs to be able to associate this
|
|
opaque structure definition with the full definition in another
|
|
file.
|
|
*/
|
|
|
|
struct foo *foop;
|
|
extern struct foo *getfoo ();
|
|
|
|
int main ()
|
|
{
|
|
foop = getfoo ();
|
|
putfoo (foop);
|
|
return 0;
|
|
}
|