1 /* $NetBSD: msg_285.c,v 1.4 2022/06/16 21:24:41 rillig Exp $ */ 2 # 3 "msg_285.c" 3 4 // Test for message: prototype declaration [285] 5 6 /* lint1-extra-flags: -r */ 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