Makefile: use quiet link to link smatch
[smatch.git] / validation / init_cstring.c
blob00eca20aa50682986f7de31d7e322b110528e509
1 static struct alpha {
2 char a[2];
3 } x = { .a = "ab" };
4 /*
5 * check-name: -Winit-cstring option
7 * check-command: sparse -Winit-cstring $file
8 * check-error-start
9 init_cstring.c:3:14: warning: too long initializer-string for array of char(no space for nul char)
10 * check-error-end