xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_050.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_050.c,v 1.3 2021/01/31 11:12:07 rillig Exp $	*/
2 # 3 "msg_050.c"
3 
4 /* Test for message: a function is declared as an argument: %s [50] */
5 
6 /* lint1-flags: -Stw */
7 
8 typedef void (function)();
9 
10 void example(f)			/* expect: 231 */
11     function f;			/* expect: 50 */
12 {
13 }
14