OpenBSD-4.6/regress/usr.bin/xlint/test-3.c

Compare this file to the similar file:
Show the results in this format:

/*      $OpenBSD: test-3.c,v 1.1 2005/11/23 20:38:58 cloder Exp $ */

/*
 * Placed in the public domain by Chad Loder <cloder@openbsd.org>.
 *
 * Test parsing of "inline" keyword.
 */

static inline int
foo(void);

static inline int
foo(void)
{
	return 0;
}

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