[PATCH] D19835: Tolerate incorrect return type for 'isinf' and 'isnan' in tests.
Jonathan Roelofs via cfe-commits
cfe-commits at lists.llvm.org
Mon May 2 15:39:14 PDT 2016
jroelofs added a comment.
> Alternatively `static_assert(std::is_same<decltype(isinf((double)0)), bool>::value);` :-P
>
> Testing the return type isn't the problem. The problem is telling LIT *when* we expect the test to fail using the `XFAIL` directive.
Ohhhh. I see.
http://reviews.llvm.org/D19835
More information about the cfe-commits
mailing list