diff options
Diffstat (limited to 'test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp')
| -rw-r--r-- | test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp b/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp index 77ca9d7f2aac..3027d4cdcc0c 100644 --- a/test/std/numerics/complex.number/complex.special/float_double_explicit.pass.cpp +++ b/test/std/numerics/complex.number/complex.special/float_double_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<double> cd(2.5, 3.5);      constexpr std::complex<float> cf(cd); | 
