War on tabs

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@187906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2013-08-07 19:39:48 +00:00
parent f68b46f0c9
commit ab61b2c9f1
19 changed files with 134 additions and 134 deletions

View File

@@ -28,8 +28,8 @@ test(typename std::enable_if<std::is_integral<T>::value>::type* = 0)
#if _LIBCPP_STD_VER > 11
constexpr T val {x};
static_assert(std::imag(val) == 0, "");
constexpr std::complex<T> t{val, val};
static_assert(t.imag() == x, "" );
constexpr std::complex<T> t{val, val};
static_assert(t.imag() == x, "" );
#endif
}
@@ -42,8 +42,8 @@ test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
#if _LIBCPP_STD_VER > 11
constexpr T val {x};
static_assert(std::imag(val) == 0, "");
constexpr std::complex<T> t{val, val};
static_assert(t.imag() == x, "" );
constexpr std::complex<T> t{val, val};
static_assert(t.imag() == x, "" );
#endif
}

View File

@@ -28,8 +28,8 @@ test(typename std::enable_if<std::is_integral<T>::value>::type* = 0)
#if _LIBCPP_STD_VER > 11
constexpr T val {x};
static_assert(std::real(val) == val, "");
constexpr std::complex<T> t{val, val};
static_assert(t.real() == x, "" );
constexpr std::complex<T> t{val, val};
static_assert(t.real() == x, "" );
#endif
}
@@ -42,8 +42,8 @@ test(typename std::enable_if<!std::is_integral<T>::value>::type* = 0)
#if _LIBCPP_STD_VER > 11
constexpr T val {x};
static_assert(std::real(val) == val, "");
constexpr std::complex<T> t{val, val};
static_assert(t.real() == x, "" );
constexpr std::complex<T> t{val, val};
static_assert(t.real() == x, "" );
#endif
}

View File

@@ -50,8 +50,8 @@ test()
assert(!(lhs != rhs));
}
test_constexpr<T> ();
}
test_constexpr<T> ();
}
int main()
{