1 /* $NetBSD: msg_285.c,v 1.5 2023/03/28 14:44:35 rillig Exp $ */ 2 # 3 "msg_285.c" 3 4 // Test for message: prototype declaration [285] 5 6 /* lint1-extra-flags: -r -X 351 */ 7 8 /* expect+1: prototype declaration [285] */ 9 void function(int, int, int); 10 11 /* ARGSUSED */ 12 extern void 13 function(a, b) 14 int a, b; 15 /* expect+1: error: parameter mismatch: 3 declared, 2 defined [51] */ 16 { 17 } 18