Back out the <type_traits> changes from r198431; they were breaking when building with glibc. Need to find a better solution for PR18218.
llvm-svn: 198623
diff --git a/libcxx/test/numerics/c.math/cmath.pass.cpp b/libcxx/test/numerics/c.math/cmath.pass.cpp
index 13d872c..5db9fd1 100644
--- a/libcxx/test/numerics/c.math/cmath.pass.cpp
+++ b/libcxx/test/numerics/c.math/cmath.pass.cpp
@@ -339,14 +339,14 @@
static_assert((std::is_same<decltype(std::powf(0,0)), float>::value), "");
static_assert((std::is_same<decltype(std::powl(0,0)), long double>::value), "");
static_assert((std::is_same<decltype(std::pow((int)0, (int)0)), double>::value), "");
- static_assert((std::is_same<decltype(std::pow(Value<int>(), (int)0)), double>::value), "");
- static_assert((std::is_same<decltype(std::pow(Value<long double>(), (float)0)), long double>::value), "");
- static_assert((std::is_same<decltype(std::pow((float) 0, Value<float>())), float>::value), "");
+// static_assert((std::is_same<decltype(std::pow(Value<int>(), (int)0)), double>::value), "");
+// static_assert((std::is_same<decltype(std::pow(Value<long double>(), (float)0)), long double>::value), "");
+// static_assert((std::is_same<decltype(std::pow((float) 0, Value<float>())), float>::value), "");
assert(std::pow(1,1) == 1);
- assert(std::pow(Value<int,1>(), Value<float,1>()) == 1);
- assert(std::pow(1.0f, Value<double,1>()) == 1);
- assert(std::pow(1.0, Value<int,1>()) == 1);
- assert(std::pow(Value<long double,1>(), 1LL) == 1);
+// assert(std::pow(Value<int,1>(), Value<float,1>()) == 1);
+// assert(std::pow(1.0f, Value<double,1>()) == 1);
+// assert(std::pow(1.0, Value<int,1>()) == 1);
+// assert(std::pow(Value<long double,1>(), 1LL) == 1);
}
void test_sin()