PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / floatn-align.h
blob3196f33066205ba8b6bea4a6123c35ee21b30d5e
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. */
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)
9 #if EXT
10 # define TYPE CONCAT3 (_Float, WIDTH, x)
11 #else
12 # define TYPE CONCAT (_Float, WIDTH)
13 #endif
15 #include <stddef.h>
17 _Static_assert (_Alignof (max_align_t) >= _Alignof (TYPE),
18 "max_align_t must be at least as aligned as _Float* types");