[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / zerolen-2.c
blob7c933384396ebcb5293429bf558739dd6e6d78cd
1 /* { dg-skip-if "assumes absence of larger-than-word padding" { epiphany-*-* } } */
2 extern void abort(void);
4 typedef int word __attribute__((mode(word)));
6 struct foo
8 word x;
9 word y[0];
12 int main()
14 if (sizeof(word) != sizeof(struct foo))
15 abort();
16 if (__alignof__(word) != __alignof__(struct foo))
17 abort();
18 return 0;