diff options
Diffstat (limited to 'stdbool.c')
-rw-r--r-- | stdbool.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/stdbool.c b/stdbool.c new file mode 100644 index 0000000..bb43b55 --- /dev/null +++ b/stdbool.c @@ -0,0 +1,22 @@ +#if defined __STDC_VERSION__ && 199901L <= __STDC_VERSION__ +#include <stdbool.h> +#include "test.h" + +static bool b; + +void test_stdbool_h(void) +{ + testing_header("stdbool.h"); + + test_true(true); + test_false(false); + test_true(__bool_true_false_are_defined); + + testing_end(); +} + +#else +void test_stdbool_h(void) +{ +} +#endif |