testsuite: get all tags in once
[smatch.git] / validation / Woverride-init-def.c
blob95ecf33be6ea6a1ae2852195caec4683111eece7
1 static int array[] = {
2 [1] = 3,
3 [1] = 1, /* check-should-warn */
4 };
6 /*
7 * check-name: Woverride-init-def
8 * check-command: sparse $file
10 * check-error-start
11 Woverride-init-def.c:2:10: warning: Initializer entry defined twice
12 Woverride-init-def.c:3:10: also defined here
13 * check-error-end