xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_063.c (revision ccd9df534e375a4366c5b55f23782053c7a98d82)
1 /*	$NetBSD: msg_063.c,v 1.4 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_063.c"
3 
4 // Test for message: prototype does not match old-style definition [63]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 int
9 function(a, b)
10 	int a, b;
11 {
12 	return a + b;
13 }
14 
15 /* expect+1: error: prototype does not match old-style definition [63] */
16 double function(int);
17