summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/numerics/numeric.ops/reduce
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-29 00:55:10 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-07-29 00:55:10 +0000
commit4159db7698d3d6aa5e0f2d920be3847716b05800 (patch)
tree65e739c70519a0767cc27f13f679fcd1b09fc8e4 /libcxx/test/std/numerics/numeric.ops/reduce
parent8980b8ad9c9a0060698fc448dd9de1e2e1a48447 (diff)
downloadbcm5719-llvm-4159db7698d3d6aa5e0f2d920be3847716b05800.tar.gz
bcm5719-llvm-4159db7698d3d6aa5e0f2d920be3847716b05800.zip
[libcxx] [test] Untabify, NFC.
llvm-svn: 309464
Diffstat (limited to 'libcxx/test/std/numerics/numeric.ops/reduce')
-rw-r--r--libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp
index e3e2ffe7be0..cff1b8c0ab4 100644
--- a/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp
+++ b/libcxx/test/std/numerics/numeric.ops/reduce/reduce_init_op.pass.cpp
@@ -65,10 +65,10 @@ int main()
test<random_access_iterator<const int*> >();
test<const int*>();
-// Make sure the math is done using the correct type
+// Make sure the math is done using the correct type
{
auto v = {1, 2, 3, 4, 5, 6, 7, 8};
unsigned res = std::reduce(v.begin(), v.end(), 1U, std::multiplies<>());
- assert(res == 40320); // 8! will not fit into a char
+ assert(res == 40320); // 8! will not fit into a char
}
}
OpenPOWER on IntegriCloud