]> andersk Git - splint.git/blob - test/tests2.5/booltest.c
48fc58b90c8379ba9ef80ca52a5e2d38fc390599
[splint.git] / test / tests2.5 / booltest.c
1 /*
2 ** Boolean type checking
3 */
4
5 typedef int bool;
6
7 bool f (int i, bool b) {
8   if (i) { /* error with -boolint -predboolint */
9     return i; /* error with -boolint */
10   } else {
11     return b; /* okay */
12   }
13 }
14
This page took 0.023825 seconds and 3 git commands to generate.