diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-03-01 21:49:01 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-03-01 21:49:01 -0500 |
commit | 6d9ef3245dfc8cbcc2e1d3f28e05090f1ed766a8 (patch) | |
tree | 3676d601081ce2b43224c9c2d0bb3d2d5825ef3f /stdalign.c | |
parent | 306613c5a17842fc6967f9a9a3722a63767c3b75 (diff) |
skeletons for C11/C18 functions
Diffstat (limited to 'stdalign.c')
-rw-r--r-- | stdalign.c | 22 |
1 files changed, 22 insertions, 0 deletions
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 <stdalign.h> +#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 |