smatch_data/kernel.unreachable.ignore: add BUG(), WARN_ON() and others
[smatch.git] / validation / implicit-type.c
blob724bab71ee7bba79163679fd3a9753e9232152ca
1 extern a;
2 static b;
3 c;
5 /*
6 * check-name: implicit-type.c
7 * check-command: sparse -Wno-decl $file
9 * check-error-start
10 implicit-type.c:1:8: warning: 'a' has implicit type
11 implicit-type.c:2:8: warning: 'b' has implicit type
12 implicit-type.c:3:1: warning: 'c' has implicit type
13 * check-error-end