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
/
old-initializer.c
blob
48aeeaabd0469b2dc1db2ff2645f462ca3a0024a
1
struct
s
{
2
int
i
;
3
};
4
5
static struct
s the_s
= {
i
:
1
};
6
/*
7
* check-name: Old initializer
8
*
9
* check-error-start
10
old-initializer.c:5:27: warning: obsolete struct initializer, use C99 syntax
11
* check-error-end
12
*/