1 ! RUN: %flang_fc1 -fopenacc %s
3 ! Check common block resolution.
4 ! Check that symbol are correctly resolved in device, host and self clause.
9 real :: b(10), c(10), d
13 !$acc declare present(/foo/)
14 !$acc parallel loop gang vector
16 b(i
) = a(i
) + c(i
) * d
20 program test_resolve04
24 !$acc data create(/foo/)
25 !$acc update device(/foo/)
26 !$acc update host(/foo/)
27 !$acc update self(/foo/)
30 !$acc data copy(/foo/)