aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/call-complex-pointer.c
blob: 6cfeb6abd99e082d88884140a9d1c529de4195f3 (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\.
 */