Compiling the following code snippet:
module leader
implicit none
integer,private::rank
end module leader
submodule(leader) officer
implicit none
integer,private::file
end submodule officerI get the following error:
error #6848: This attribute specification is valid only in the specification part of a module. [PRIVATE]
integer,private::file
--------------^I think the standard allows this, am I writing something wrong or is this a bug?
Zone:
Thread Topic:
Bug Report