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
*/