summaryrefslogtreecommitdiff
path: root/libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp')
-rw-r--r--libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp b/libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.cpp
deleted file mode 100644
index a0021782fe21..000000000000
--- a/libcxx/test/numerics/complex.number/complex.special/long_double_float_implicit.pass.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<long double>
-// {
-// public:
-// constexpr complex(const complex<float>&);
-// };
-
-#include <complex>
-#include <cassert>
-
-int main()
-{
- const std::complex<float> cd(2.5, 3.5);
- std::complex<long double> cf = cd;
- assert(cf.real() == cd.real());
- assert(cf.imag() == cd.imag());
-}