1  /* PR c++/103705 */
       2  /* { dg-do compile } */
       3  
       4  struct S
       5  {
       6    int a[2];
       7  };
       8  
       9  int main (void)
      10  {
      11    struct S s[1];
      12    #pragma omp target update from(s[0].a[0:1])
      13    return 0;
      14  }