6 ! Check that get_key_len is not optimized away as it
7 ! is used in a publicly visible specification expression.
14 pure
function get_key_len() result(n
)
16 end function get_key_len
17 pure
function other() result(n
)
21 function get_key() result(key)
23 character(len
=get_key_len()) :: key
26 end module m_common_attrs
28 ! { dg-final { scan-assembler-not "__m_common_attrs_MOD_other" } }
29 ! { dg-final { scan-assembler "__m_common_attrs_MOD_get_key_len" } }