summaryrefslogtreecommitdiff
path: root/stdbool.c
blob: bb43b55c2b06c81549954f1788a857a7b93b2b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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