diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-06-07 01:57:15 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-06-07 01:57:15 +0000 |
commit | ef44eed173353ff002da6fe92680e40068cd081f (patch) | |
tree | beeeaecb50227b8c1fe964debaf3c8f45bc9ac9a /gdb/testsuite/gdb.base/opaque1.c | |
parent | 33268150cbbcc90ec13f5603d566537cf4cd569e (diff) | |
download | binutils-gdb-ef44eed173353ff002da6fe92680e40068cd081f.tar.gz |
Reorganized GDB tests - base
Diffstat (limited to 'gdb/testsuite/gdb.base/opaque1.c')
-rw-r--r-- | gdb/testsuite/gdb.base/opaque1.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/opaque1.c b/gdb/testsuite/gdb.base/opaque1.c new file mode 100644 index 00000000000..4a3c8559b82 --- /dev/null +++ b/gdb/testsuite/gdb.base/opaque1.c @@ -0,0 +1,18 @@ +struct foo { + int a; + int b; +} afoo = { 1, 2}; + +struct foo *getfoo () +{ + return (&afoo); +} + +#ifdef __STDC__ +void putfoo (struct foo *foop) +#else +void putfoo (foop) + struct foo *foop; +#endif +{ +} |