xref: /netbsd-src/tests/usr.bin/indent/lsym_funcname.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /* $NetBSD: lsym_funcname.c,v 1.4 2022/04/24 10:36:37 rillig Exp $ */
2 
3 /*
4  * Tests for the token lsym_funcname, which is an identifier that is followed
5  * by an opening parenthesis.
6  *
7  * TODO: Document how lsym_funcname is handled differently from lsym_word.
8  *
9  * See also:
10  *	lsym_word.c
11  */
12 
13 //indent input
14 void
15 function(void)
16 {
17 	func();
18 	(func)();
19 	func(1, 2, 3);
20 }
21 //indent end
22 
23 //indent run-equals-input
24