aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/devirtualize0.c
blob: 7079e79072fe1d6a434ceae7a4399f2618c87f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static inline long f1(long x) { return x + 1;}

extern long foo(long a);
long foo(long a)
{
	typeof(f1) *f = f1;
	return f(a);
}

/*
 * check-name: devirtualize0
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: call\\.
 */