sparse, llvm: Use LLVMInt1Type() in sym_basetype_type()
[smatch.git] / validation / declaration-after-statement-ansi.c
blob22635cfafd0d1bd61849903cb35fc584417595d7
1 static void func (int i)
3 i;
4 int j = i;
6 /*
7 * check-name: declaration after statement (ANSI)
8 * check-command: sparse -ansi $file
9 * check-error-start
10 declaration-after-statement-ansi.c:4:9: warning: mixing declarations and code
11 * check-error-end