c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr96133.c
blobac31a7141c410e06af8c1f99744875a1cae76430
1 /* { dg-do run } */
3 typedef int T;
4 static const T a[2][3] __attribute__((aligned(2*sizeof(T)))) = { { 1, 2, 3 }, { 4, 5, 6 } };
5 typedef T v2 __attribute__((vector_size(2*sizeof(T))));
7 int
8 main()
10 const T *p = &a[0][2];
11 v2 x = *(const v2 *)p;
12 T z = x[1];
13 if (z != 4)
14 __builtin_abort ();
15 return 0;