On 8/23/14, 6:13 PM, Chandler Carruth wrote:

On Sat, Aug 23, 2014 at 4:40 PM, Jonathan Roelofs <[email protected]
<mailto:[email protected]>> wrote:

    This is a fail test... could it be that the missing return is actually part
    of the behavior being checked by this test?


Unless its testing a compilation failure no, and as it did compile that seems
unlikely.

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.

Oh, right.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to