This testcase currently does not handle powerpc branches. It kinda
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / opaque0.c
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 #ifdef PROTOTYPES
11 extern void putfoo (struct foo *foop);
12 #endif
13
14 int main ()
15 {
16 foop = getfoo ();
17 putfoo (foop);
18 return 0;
19 }
This page took 0.034091 seconds and 4 git commands to generate.