1/* $NetBSD: msg_283.c,v 1.8 2023/08/02 18:51:25 rillig Exp $ */ 2# 3 "msg_283.c" 3 4// Test for message: parameter number mismatch in comment /* %s */ [283] 5 6/* Do not warn about unused parameters. */ 7/* lint1-extra-flags: -X 231,351 */ 8 9/* PRINTFLIKE */ 10void 11printflike_comment(const char *fmt) 12{ 13} 14 15/* PRINTFLIKE 0 */ 16void 17printflike_0_comment(const char *fmt) 18{ 19} 20 21/* PRINTFLIKE 2 */ 22void 23printflike_2_comment(int a, const char *fmt) 24{ 25} 26 27/* PRINTFLIKE 3 */ 28void 29printflike_3_comment(int a, const char *fmt) 30/* expect+1: warning: parameter number mismatch in comment ** PRINTFLIKE ** [283] */ 31{ 32} 33