blob: a9d63e2e4741d07256893fb23ec6cdc0be3317ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* $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;
}
|