xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_032.c (revision 2718af68c3efc72c9769069b5c7f9ed36f6b9def)
1 /*	$NetBSD: msg_032.c,v 1.3 2022/04/05 23:09:19 rillig Exp $	*/
2 # 3 "msg_032.c"
3 
4 // Test for message: argument type defaults to 'int': %s [32]
5 
6 add(a, b, c)
7 /* expect+3: warning: argument type defaults to 'int': a [32] */
8 /* expect+2: warning: argument type defaults to 'int': b [32] */
9 /* expect+1: warning: argument type defaults to 'int': c [32] */
10 {
11 	return a + b + c;
12 }
13