blob: dc97ba6ca24166885a7f806f01a317e4af9abac8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Check to make sure the alignment on vectors is not being lost. */
/* If some target has a Max alignment less than 128, please create
a #ifdef around the alignment and add your alignment. */
#define alignment 128
char x __attribute__((aligned(alignment),vector_size(2)));
int f[__alignof__(x) == alignment?1:-1];
|