summaryrefslogtreecommitdiff
path: root/regress/usr.bin/xlint/test-21.c
blob: d995da4535b7580d0460722fefd57fe618805cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 /*	$OpenBSD: test-21.c,v 1.2 2006/05/05 06:48:20 otto Exp $*/

/*
 * Placed in the public domain by Chad Loder <cloder@openbsd.org>.
 *
 * Regression test lint1 crash on function prototypes having functions
 * as arguments.
 */
struct foo
{
	int a;
};

int bar(int, unsigned int(int, const struct foo *, int));
int baz(int *(void *));

/* ARGSUSED */
int
main(int argc, char* argv[])
{
	return 0;
}