diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-04-19 00:23:45 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-04-19 00:23:45 +0000 |
commit | 69154d6e071e01fe6d6745e38e565c9d8d3fe543 (patch) | |
tree | a774d41fac04dadf16a8295f973216a0920a63ba /libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp | |
parent | 97923db8919a11731d5f13f345354b2e29371d97 (diff) | |
download | bcm5719-llvm-69154d6e071e01fe6d6745e38e565c9d8d3fe543.tar.gz bcm5719-llvm-69154d6e071e01fe6d6745e38e565c9d8d3fe543.zip |
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in the numeric tests and headers
llvm-svn: 300632
Diffstat (limited to 'libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp')
-rw-r--r-- | libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp index e8d07ce287d..ac26e3c9eed 100644 --- a/libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp +++ b/libcxx/test/std/numerics/complex.number/complex.special/double_float_explicit.pass.cpp @@ -18,6 +18,8 @@ #include <complex> #include <cassert> +#include "test_macros.h" + int main() { { @@ -26,7 +28,7 @@ int main() assert(cf.real() == cd.real()); assert(cf.imag() == cd.imag()); } -#ifndef _LIBCPP_HAS_NO_CONSTEXPR +#if TEST_STD_VER >= 11 { constexpr std::complex<float> cd(2.5, 3.5); constexpr std::complex<double> cf(cd); |