Sign in
kernel
/
pub
/
scm
/
devel
/
sparse
/
sparse-dev
/
refs/heads/fix-zephyr
/
.
/
validation
/
declaration-after-statement-ansi.c
blob: 22635cfafd0d1bd61849903cb35fc584417595d7 [
file
] [
log
] [
blame
]
static
void
func
(
int
i
)
{
i
;
int
j
=
i
;
}
/*
* check-name: declaration after statement (ANSI)
* check-command: sparse -ansi $file
* check-error-start
declaration-after-statement-ansi.c:4:9: warning: mixing declarations and code
* check-error-end
*/