From 6d9ef3245dfc8cbcc2e1d3f28e05090f1ed766a8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 1 Mar 2019 21:49:01 -0500 Subject: skeletons for C11/C18 functions --- stdalign.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 stdalign.c (limited to 'stdalign.c') diff --git a/stdalign.c b/stdalign.c new file mode 100644 index 0000000..9fd58bc --- /dev/null +++ b/stdalign.c @@ -0,0 +1,22 @@ +#if defined __STDC_VERSION__ && 201112L <= __STDC_VERSION__ +#include +#include "test.h" + +void test_stdalign_h(void) +{ + testing_header("stdalign.h"); + + /* alignas() */ + /* alignof() */ + + test_defined(__alignas_is_defined); + test_defined(__alignof_is_defined); + + testing_end(); +} + +#else +void test_stdalign_h(void) +{ +} +#endif -- cgit v1.2.1