rename del_slist_stack() to free_stack_and_slists()
[smatch.git] / validation / bad-array-designated-initializer.c
blobcde078540080c36f9ea6dcadbc485a07b313ec30
1 static int a[] = {
2 [0] = 0, // OK
3 [\0] = 1, // KO
4 };
5 /*
6 * check-name: Bad array designated initializer
8 * check-error-start
9 bad-array-designated-initializer.c:3:3: error: Expected constant expression
10 bad-array-designated-initializer.c:3:3: error: Expected } at end of initializer
11 bad-array-designated-initializer.c:3:3: error: got \
12 * check-error-end