summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2018-01-31 21:42:39 +0000
committerMarshall Clow <mclow.lists@gmail.com>2018-01-31 21:42:39 +0000
commit0551d83ed50d66f90badacdb070b1bde607a0b66 (patch)
tree93cf7413257f3ff1e4444246a1ae57fc0a0b3740 /libcxx/test/std/numerics
parent7faa9dac84b80a9160512e4e1a14f2cfca66d38a (diff)
downloadbcm5719-llvm-0551d83ed50d66f90badacdb070b1bde607a0b66.tar.gz
bcm5719-llvm-0551d83ed50d66f90badacdb070b1bde607a0b66.zip
Implement LWG2870: Default value of parameter theta of polar should be dependent
llvm-svn: 323918
Diffstat (limited to 'libcxx/test/std/numerics')
-rw-r--r--libcxx/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp b/libcxx/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp
index 5e6cb0d523c..69463ded2b4 100644
--- a/libcxx/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp
+++ b/libcxx/test/std/numerics/complex.number/complex.value.ops/polar.pass.cpp
@@ -11,7 +11,7 @@
// template<class T>
// complex<T>
-// polar(const T& rho, const T& theta = 0);
+// polar(const T& rho, const T& theta = T()); // changed from '0' by LWG#2870
#include <complex>
#include <cassert>
OpenPOWER on IntegriCloud