blob: 67ce67c803f9f70808f0acf18386cc052166162b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#if defined __STDC_VERSION__ && 201112L <= __STDC_VERSION__
#include <stdalign.h>
#include "_stdalign.h"
#include "test.h"
void test_stdalign_h(void)
{
testing_header("stdalign.h");
/* alignas() */
/* alignof() */
test_int_equals(__alignas_is_defined, 1);
test_int_equals(__alignof_is_defined, 1);
testing_end();
}
#else
void test_stdalign_h(void)
{
}
#endif
|