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