What happens when dereferencing a function that doesn't return?
<pre><code>variableName = pointerName -&gt; getValue();
</code></pre>

<p>Say that <code>getValue()</code> has two routes and only one of them has a return (which is undefined), but it still compiles. What happens if this was in a real time scenario if there was nothing checking or catching this error of no return? Does it crash the program?</p>