Update copyright year range in all GDB files
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / opaque0.c
CommitLineData
c906108c
SS
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
8struct foo *foop;
9extern struct foo *getfoo ();
085dd6e6 10extern void putfoo (struct foo *foop);
c906108c
SS
11
12int main ()
13{
c906108c
SS
14 foop = getfoo ();
15 putfoo (foop);
16 return 0;
17}
This page took 2.243744 seconds and 4 git commands to generate.