<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 4:40 PM, Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a fail test... could it be that the missing return is actually part of the behavior being checked by this test?</blockquote>
</div><br>Unless its testing a compilation failure no, and as it did compile that seems unlikely.</div><div class="gmail_extra"><br></div><div class="gmail_extra">You can test for the behavior of falling off the end of a function without a return -- that behavior is undefined, so its impossible to write a test against.</div>
</div>