param_key: fix container of when no struct member is referenced
[smatch.git] / validation / strict-prototypes1.c
blob7e4ce6bbfb46ffbea60429f9dbaf12ec7189bcad
1 extern void func0();
2 extern void func1(), func2();
4 /*
5 * check-name: strict-prototypes enabled
6 * check-command: sparse -Wstrict-prototypes $file
7 * check-known-to-fail
9 * check-error-start
10 strict-prototypes1.c:1:18: warning: non-ANSI function declaration of function 'func0'
11 strict-prototypes1.c:2:18: warning: non-ANSI function declaration of function 'func1'
12 strict-prototypes1.c:2:27: warning: non-ANSI function declaration of function 'func2'
13 * check-error-end