forked from Imagelibrary/binutils-gdb
Reorganized GDB tests - base
This commit is contained in:
18
gdb/testsuite/gdb.base/opaque1.c
Normal file
18
gdb/testsuite/gdb.base/opaque1.c
Normal file
@@ -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
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user