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
program print_derived_type
implicit none
type input01
real(kind=8) :: beta_in,beta_out,stagger
end type input01
type(input01) :: angle_inp
print*, angle_inp ! works
write (*,*), angle_inp ! does not work
end program
This gives:
$ lfortran a.f90code generation error: Printing support is not available for `input01` type. --> a.f90:8:1 |8 | write (*,*), angle_inp ! does not work | ^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
Test case:
This gives:
The text was updated successfully, but these errors were encountered: