]> andersk Git - splint.git/blobdiff - test/tests2.5/booltest.c
Modified tests to account for bool being defined in the standard library.
[splint.git] / test / tests2.5 / booltest.c
index 48fc58b90c8379ba9ef80ca52a5e2d38fc390599..1c4e3eb538d5cfdffffc3f57db6372d8e940560a 100644 (file)
@@ -1,8 +1,8 @@
 /*
 ** Boolean type checking
 */
-
-typedef int bool;
+// bool is now defined in the standard library
+#include<stdbool.h>
 
 bool f (int i, bool b) {
   if (i) { /* error with -boolint -predboolint */
This page took 0.033424 seconds and 4 git commands to generate.