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
function_hooks: update comment explaining various function hooks
[smatch.git]
/
validation
/
flex-array-array.c
blob
921a0698bb2851a5b388bbd4e76e77279d72497e
1
struct
s
{
2
int
i
;
3
long
f
[];
4
};
5
6
static struct
s a
[
2
];
7
8
/*
9
* check-name: flex-array-array
10
* check-command: sparse -Wflexible-array-array $file
11
*
12
* check-error-start
13
flex-array-array.c:6:18: warning: array of flexible structures
14
* check-error-end
15
*/