function_hooks: update comment explaining various function hooks
[smatch.git] / validation / typedef_shadow.c
blobe8e4c229b1d098d4bba12afd22015bf203c78ed2
1 typedef int T;
2 static void f(int T)
4 static T a;
6 /*
7 * check-name: typedef shadowing
8 * check-error-start
9 typedef_shadow.c:4:16: warning: 'T' has implicit type
10 typedef_shadow.c:4:18: error: Expected ; at end of declaration
11 typedef_shadow.c:4:18: error: got a
12 * check-error-end