bsc-pm / mcxx

Mercurium is a C/C++/Fortran source-to-source compilation infrastructure aimed at fast prototyping developed by the Programming Models group at the Barcelona Supercomputing Center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mfc error with a constructor

rupertford opened this issue · 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'