diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/opaque0.c')
-rw-r--r-- | gdb/testsuite/gdb.base/opaque0.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/testsuite/gdb.base/opaque0.c b/gdb/testsuite/gdb.base/opaque0.c deleted file mode 100644 index e5a343c..0000000 --- a/gdb/testsuite/gdb.base/opaque0.c +++ /dev/null @@ -1,16 +0,0 @@ -/* 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; -} |