7 int A[N] = { 1, 2, 3, 4, 5, 6, 7, 8 };
8 #pragma acc declare copyin (A)
14 #pragma acc declare create (B)
23 #pragma acc declare copyout (C)
25 if (!acc_is_present (&one::A, sizeof (one::A)))
28 if (!acc_is_present (&outer::inner::B, sizeof (outer::inner::B)))
32 for (i = 0; i < N; i++)
34 outer::inner::B[i] = one::A[i];
35 C[i] = outer::inner::B[i];
39 for (i = 0; i < N; i++)
46 for (i = 0; i < N; i++)
47 if (outer::inner::B[i] != i + 1)
53 main (int argc, char **argv)