xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_299.c (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1 /*	$NetBSD: msg_299.c,v 1.5 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_299.c"
3 
4 /* Test for message: prototype does not match old-style definition, arg #%d [299] */
5 
6 /* lint1-flags: -w -X 351 */
7 
8 old_style(x)
9 	double x;
10 {
11 	return x > 0.0;
12 }
13 
14 /* expect+1: error: prototype does not match old-style definition, arg #1 [299] */
15 void old_style(char ch);
16