aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/opaque1.c
blob: ccb5fce26d6bc062cc81857665e82952d2f189e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct foo {
    int a;
    int b;
} afoo = { 1, 2};

struct foo *getfoo ()
{
    return (&afoo);
}

void putfoo (struct foo *foop)
{
}