summaryrefslogtreecommitdiff
path: root/stddef.c
diff options
context:
space:
mode:
Diffstat (limited to 'stddef.c')
-rw-r--r--stddef.c24
1 files changed, 24 insertions, 0 deletions
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 <stddef.h>
+#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();
+}