You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#define DEV_ACC !!!
program aa
implicit none
integer i,j,a
DEV_ACC data &
DEV_ACC & copyin(i)
do i=1,10
do j=1,10
a=1
enddo
enddo
end program
got
$ flang-new -cpp main.f90
error: Could not parse main.f90
./main.f90:13:4: error: expected end of statement
enddo
^
./main.f90:13:1: in the context: END PROGRAM statement
enddo
^
./main.f90:3:1: in the context: main program
program aa
^