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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits