1 /* Tests for _FloatN / _FloatNx types: test max_align_t alignment. 2 Before including this file, define WIDTH as the value N; define EXT 3 to 1 for _FloatNx and 0 for _FloatN. */ 4 5 #define CONCATX(X, Y) X ## Y 6 #define CONCAT(X, Y) CONCATX (X, Y) 7 #define CONCAT3(X, Y, Z) CONCAT (CONCAT (X, Y), Z) 8 9 #if EXT 10 # define TYPE CONCAT3 (_Float, WIDTH, x) 11 #else 12 # define TYPE CONCAT (_Float, WIDTH) 13 #endif 14 15 #include <stddef.h> 16 17 _Static_assert (_Alignof (max_align_t) >= _Alignof (TYPE), 18 "max_align_t must be at least as aligned as _Float* types"); 19