From df9ef3a48883d4a34eeabbfd5af42f289c1353c2 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 19:45:11 -0500 Subject: basic tests for stdbool.h and stddef.h --- stddef.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 stddef.c (limited to 'stddef.c') diff --git a/stddef.c b/stddef.c new file mode 100644 index 0000000..069225e --- /dev/null +++ b/stddef.c @@ -0,0 +1,24 @@ +#include +#include "test.h" + +static ptrdiff_t ptrdiff; +static size_t size; +static wchar_t wchar; + +void test_stddef_h(void) +{ + struct s { + char a; + char b; + }; + + testing_header("stddef.h"); + + test_true(NULL == 0); + + /* + test_int_eq(offsetof(struct s, b), 1); + */ + + testing_end(); +} -- cgit v1.2.1