aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/Woverride-init-no.c
blob: ba4d82b9f9e64b516ce568c14ba5359ce9193283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
static int array[] = {
	[1] = 3,
	[1] = 1,		/* check-should-warn */
};

/*
 * check-name: Woverride-init-no
 * check-command: sparse -Wno-override-init $file
 *
 * check-error-start
 * check-error-end
 */