summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cu-decl-1.c
blob: 9743d298391cf091e2d132dce79d2fe8f378b762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

struct foo;
struct foo* get_foo(void);

void
print(struct foo* f)
{
    printf("%p\n", f);
}

int
main()
{
    print(get_foo());
    return 0;
}