diff options
Diffstat (limited to 'libcxx/test/numerics/complex.number/complex.special/float_long_double_implicit.fail.cpp')
| -rw-r--r-- | libcxx/test/numerics/complex.number/complex.special/float_long_double_implicit.fail.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libcxx/test/numerics/complex.number/complex.special/float_long_double_implicit.fail.cpp b/libcxx/test/numerics/complex.number/complex.special/float_long_double_implicit.fail.cpp deleted file mode 100644 index 9401febee5d6..000000000000 --- a/libcxx/test/numerics/complex.number/complex.special/float_long_double_implicit.fail.cpp +++ /dev/null @@ -1,27 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <complex> - -// template<> class complex<float> -// { -// public: -// explicit constexpr complex(const complex<long double>&); -// }; - -#include <complex> -#include <cassert> - -int main() -{ - const std::complex<long double> cd(2.5, 3.5); - std::complex<float> cf = cd; - assert(cf.real() == cd.real()); - assert(cf.imag() == cd.imag()); -} |
