aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/old-style-definition0.c
blob: eb522aa6f7aa36a4743b3751b2a1390137804bbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern int foo(int a, void *b);

int foo(a, b)
	int a;
	void *b;
{
	if (b)
		return a;
}

/*
 * check-name: old-stype-definition disabled
 * check-command: sparse -Wno-old-style-definition $file
 */