xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_152.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_152.c,v 1.3 2021/03/16 23:39:41 rillig Exp $	*/
2 # 3 "msg_152.c"
3 
4 // Test for message: argument cannot have unknown size, arg #%d [152]
5 
6 struct incomplete;			/* expect: 233 */
7 
8 void callee(struct incomplete);		/* expect: 31 */
9 
10 void
11 caller(void)
12 {
13 	struct incomplete local_var;	/* expect: 31 */
14 	callee(local_var);		/* expect: 152 */
15 }
16