repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Makefile: use quiet link to link smatch
[smatch.git]
/
validation
/
init_cstring.c
blob
00eca20aa50682986f7de31d7e322b110528e509
1
static struct
alpha
{
2
char
a
[
2
];
3
}
x
= { .
a
=
"ab"
};
4
/*
5
* check-name: -Winit-cstring option
6
*
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
11
*/