1 /* $NetBSD: msg_091.c,v 1.5 2022/06/22 19:23:18 rillig Exp $ */ 2 # 3 "msg_091.c" 3 4 /* Test for message: declaration of '%s' hides parameter [91] */ 5 6 /* lint1-flags: -htw */ 7 add(a,b)8add(a, b) 9 int a, b; 10 { 11 /* expect+1: warning: declaration of 'a' hides parameter [91] */ 12 int a; 13 14 /* expect+1: warning: 'a' may be used before set [158] */ 15 return a + b; 16 } 17