summaryrefslogtreecommitdiff
path: root/stdbool.c
blob: 37a859e8b64f4bd72fbcadef499ed8b82cbd5fed (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"

void test_stdbool_h(void)
{
	bool b;

	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