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
MODULE A
CONTAINS
PURE INTEGER FUNCTION get_size()
get_size =5ENDFUNCTIONget_sizeSUBROUTINEfoo(a)
INTEGER, INTENT(IN) :: a(get_size())
ENDSUBROUTINEfoo
END MODULE A
We have file
a.f90
:And file
b.f90
:The following commands result in a segfault:
However, when we put both modules into the same translation unit, the problem is gone:
The text was updated successfully, but these errors were encountered: