1 /* { dg-skip-if "assumes absence of larger-than-word padding" { epiphany-*-* } } */
2 extern void abort(void);
3 
4 typedef int word __attribute__((mode(word)));
5 
6 struct foo
7 {
8   word x;
9   word y[0];
10 };
11 
main()12 int main()
13 {
14   if (sizeof(word) != sizeof(struct foo))
15     abort();
16   if (__alignof__(word) != __alignof__(struct foo))
17     abort();
18   return 0;
19 }
20