Fix the Unclear locking thing. Again.
[smatch.git] / validation / declaration-after-statement-ansi.c
blob333410b73b1b1491fc4c81491a448134aa3527d0
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:2: warning: mixing declarations and code
11 * check-error-end