]> andersk Git - splint.git/blame - test/tainted/tainted4.c
Fixed problem with comman line redefinitions (no filename).
[splint.git] / test / tainted / tainted4.c
CommitLineData
98ed3b22 1typedef /*@untainted@*/ char *ucharp_t;
2extern void checkUntainted (ucharp_t *s) ;
3typedef /*@tainted@*/ char *tcharp_t;
4extern void checkTainted (tcharp_t *s) ;
5
6void test (/*@tainted@*/ char *def)
7{
8 checkTainted (&def); /* okay */
9 checkUntainted (&def); /* error */
10}
This page took 0.942523 seconds and 5 git commands to generate.