1 /* $NetBSD: msg_282.c,v 1.5 2023/03/28 14:44:35 rillig Exp $ */ 2 # 3 "msg_282.c" 3 4 // Test for message: comment /* %s */ must precede function definition [282] 5 6 /* lint1-extra-flags: -X 351 */ 7 8 /* expect+1: warning: comment ** ARGSUSED ** must precede function definition [282] */ 9 /* ARGSUSED */ 10 int argsused; 11 12 /* expect+1: warning: comment ** VARARGS ** must precede function definition [282] */ 13 /* VARARGS */ 14 int varargs; 15 16 /* expect+1: warning: comment ** PRINTFLIKE ** must precede function definition [282] */ 17 /* PRINTFLIKE */ 18 int printflike; 19 20 /* expect+1: warning: comment ** SCANFLIKE ** must precede function definition [282] */ 21 /* SCANFLIKE */ 22 int scanflike; 23