4 struct A { unsigned char a [272]; };
6 typedef struct __attribute__ ((aligned (128))) A B; // { dg-warning "attributes ignored" }
7 typedef struct __attribute__ ((__may_alias__)) A C; // { dg-warning "attributes ignored" }
10 # define alignof _Alignof
11 # define static_assert _Static_assert
12 #elif __cplusplus < 201103L
13 # define alignof __alignof__
14 # define static_assert(expr, ignore) typedef int Assert [(expr) ? 1 : -1]
17 #define SA(expr) static_assert ((expr), #expr)
19 SA (alignof (struct A) == alignof (B));