1  /* { dg-do run } */
       2  
       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))));
       6  
       7  int
       8  main()
       9  {
      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;
      16  }