summaryrefslogtreecommitdiff
path: root/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/numerics/complex.number/complex.literals/literals1.pass.cpp')
-rw-r--r--test/std/numerics/complex.number/complex.literals/literals1.pass.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp b/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp
index 46903bbd565d4..09a6f270f7595 100644
--- a/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp
+++ b/test/std/numerics/complex.number/complex.literals/literals1.pass.cpp
@@ -7,6 +7,7 @@
//
//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++98, c++03, c++11
// <chrono>
#include <complex>
@@ -15,7 +16,6 @@
int main()
{
-#if _LIBCPP_STD_VER > 11
using namespace std::literals;
{
@@ -24,7 +24,7 @@ int main()
auto c2 = 3il;
assert ( c1 == c2 );
}
-
+
{
std::complex<double> c1 = 3.0i;
assert ( c1 == std::complex<double>(0, 3.0));
@@ -38,6 +38,4 @@ int main()
auto c2 = 3if;
assert ( c1 == c2 );
}
-
-#endif
}