Fix unused parameters and variables
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@290459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -23,11 +23,10 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
constexpr bool a = std::__libcpp_isnan(0.);
|
||||
constexpr bool b = std::__libcpp_isinf(0.0);
|
||||
constexpr bool c = std::__libcpp_isfinite(0.0);
|
||||
static_assert(std::__libcpp_isnan(0.) == false, "");
|
||||
static_assert(std::__libcpp_isinf(0.0) == false, "");
|
||||
static_assert(std::__libcpp_isfinite(0.0) == true, "");
|
||||
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user