xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_063.c (revision 325dc460fcb903ba21d515d6422d8abf39bc692e)
1 /*	$NetBSD: msg_063.c,v 1.3 2022/02/27 20:02:44 rillig Exp $	*/
2 # 3 "msg_063.c"
3 
4 // Test for message: prototype does not match old-style definition [63]
5 
6 int
7 function(a, b)
8 	int a, b;
9 {
10 	return a + b;
11 }
12 
13 /* expect+1: error: prototype does not match old-style definition [63] */
14 double function(int);
15