/* $NetBSD: msg_087.c,v 1.5 2022/06/20 21:13:36 rillig Exp $ */ # 3 "msg_087.c" // Test for message: static '%s' hides external declaration [87] /* lint1-flags: -g -h -S -w */ extern int counter; int count(void) { /* expect+1: warning: static 'counter' hides external declaration [87] */ static int counter; return counter++; }