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
The following file is generated after preprocessing the source code.
test2.f90:
integer, allocatable :: array(:)
integer, allocatable :: source(:)
allocate (array,& #76 "test2.F90"
& source=source)
end program
flang compiler fails to compile above file with following error.
flang test2.f90
error: Could not scan test2.f90
test2.F90:76:38: error: Unmatched ')'
& source=source)
if the preprocessed line is moved above allocate statement, the test works fine.
The text was updated successfully, but these errors were encountered:
The following file is generated after preprocessing the source code.
test2.f90:
integer, allocatable :: array(:)
integer, allocatable :: source(:)
allocate (array,&
#76 "test2.F90"
& source=source)
end program
flang compiler fails to compile above file with following error.
flang test2.f90
error: Could not scan test2.f90
test2.F90:76:38: error: Unmatched ')'
& source=source)
if the preprocessed line is moved above allocate statement, the test works fine.
The following file is generated after preprocessing the source code.
test2.f90:
integer, allocatable :: array(:)
integer, allocatable :: source(:)
allocate (array,&
#76 "test2.F90"
& source=source)
end program
flang compiler fails to compile above file with following error.
flang test2.f90
error: Could not scan test2.f90
test2.F90:76:38: error: Unmatched ')'
& source=source)
if the preprocessed line is moved above allocate statement, the test works fine.
The text was updated successfully, but these errors were encountered: