aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/call-complex-pointer.c
blob: d1b68fb1612d88da6f0c41b2e98a41bbd887ba06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int foo(int p, int (*f0)(int), int (*f1)(int), int arg)
{
	return (p ? f0 : f1)(arg);
}
/*
 * check-name: call-complex-pointer
 * check-command: test-linearize -Wno-decl $file
 * check-known-to-fail
 *
 * check-output-ignore
 * check-output-excludes: ptrcast\\.
 * check-output-contains: select\\.
 */