mcxx icon indicating copy to clipboard operation
mcxx copied to clipboard

mfc error with a constructor

Open rupertford opened this issue 7 years ago • 0 comments

constructors don't seem to be supported ...

module region_mod
  implicit none

  type :: region_type
     integer :: nx
  end type region_type

  interface region_type
     module procedure region_constructor
  end interface region_type

end module region_mod
region_mod.f90:8:13: error: redefining symbol 'region_type'

rupertford avatar May 07 '18 23:05 rupertford