How to detect no-return statement from a function
<p>I have a function which returns non-void. On the caller side, I want to detect whether a return statement was called in original function or not.</p>

<p>I know, that it is not allowed to have non-void function return nothing and it would throw up a warning in gcc. But I want to print a runtime error based on whether return was called or the control reached the end of function.</p>

<p>The callee is defined by user. I just provide the declaration. So, basically I want to ensure that the implementer of callee function, doesn't skip "return" statement.</p>
