xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_063.c (revision 782713e6c126f1866c6d9cfdee4ceb49483b5828)
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