Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
subroutine test_cptr_wrapper()type(UDSystem)::wrappertype(c_ptr)::cptrlogical::cassocwrapper=UDSystem()cptr=wrapper%get_cptr()cassoc=c_associated(cptr)@assertTrue(cassoc,'Did not get c_ptr')if(cassoc)then@assertFalse(wrapper%is_free(),'c_ptr should be set.')call wrapper%free()cptr=wrapper%get_cptr()@assertFalse(c_associated(cptr),'c_ptr should not be associated')@assertTrue(wrapper%is_free(),'c_ptr should not be set')end if if(c_associated(cptr))call ut_free_system(cptr)end subroutine test_cptr_wrapper