aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/static-forward-decl.c
blob: daad1ecb11e02b7f228ae77e59cb6b680c3f300c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
static int f(void);

int f(void)
{
	return 0;
}
/*
 * check-name: static forward declaration
 *
 * check-error-start
static-forward-decl.c:3:5: warning: symbol 'f' was not declared. Should it be static?
 * check-error-end
 */