]> andersk Git - splint.git/blame - test/tests2.5/booltest.c
Put .c and .expect files for new test cases into the extra dist in test/Makefile...
[splint.git] / test / tests2.5 / booltest.c
CommitLineData
cc78dedd 1/*
2** Boolean type checking
3*/
4
5typedef int bool;
6
7bool 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.10494 seconds and 5 git commands to generate.