xref: /illumos-gate/usr/src/tools/smatch/src/validation/strict-prototypes1.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
1 extern void func0();
2 extern void func1(), func2();
3 
4 /*
5  * check-name: strict-prototypes enabled
6  * check-command: sparse -Wstrict-prototypes $file
7  * check-known-to-fail
8  *
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
14  */
15