Home | History | Annotate | Line # | Download | only in indent
lsym_funcname.c revision 1.5
      1 /* $NetBSD: lsym_funcname.c,v 1.5 2023/05/22 23:01:27 rillig Exp $ */
      2 
      3 /*
      4  * Tests for the token lsym_funcname, which is the name of a function, but only
      5  * in a function definition, not in a declaration or a call expression.
      6  *
      7  * See also:
      8  *	lsym_word.c
      9  */
     10 
     11 //indent input
     12 void
     13 function(void)
     14 {
     15 	func();
     16 	(func)();
     17 	func(1, 2, 3);
     18 }
     19 //indent end
     20 
     21 //indent run-equals-input
     22