Result Type of a Template Function

Hi,

i wonder if there is a way to retrieve the return type of a template
function. The function clang_getResultType works for cursors, whose
'kind' property is CXCursor_FunctionDecl. For a
CXCursor_FunctionTemplate it says, 'CXType_Invalid'. Can someone tell me
the reason for this behavior?

Thanks,
Tobias