summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr43879_2.c
blob: 8155653a6279fd972304353cc6af497de4cd08bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
struct TBL {
	int (*p)(int *i);
};

extern void bar(int i);
extern void baz(int *i);

static int foo(int *i)
{
	bar(*i);
	baz(i);
	bar(*i);
	return *i;
}

struct TBL tbl = { foo };