summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/unwind_06.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-24 00:37:13 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-24 00:37:13 +0000
commita140cba79552ec4110643b5193b69228ea61d975 (patch)
tree70e09cfdd4be674397784294940ed2e2b283c498 /libcxxabi/test/unwind_06.pass.cpp
parent9e317127adec29a893f5e34e5e2094b81b0e0c4e (diff)
downloadbcm5719-llvm-a140cba79552ec4110643b5193b69228ea61d975.tar.gz
bcm5719-llvm-a140cba79552ec4110643b5193b69228ea61d975.zip
Fix warnings in libc++abi tests
llvm-svn: 290471
Diffstat (limited to 'libcxxabi/test/unwind_06.pass.cpp')
-rw-r--r--libcxxabi/test/unwind_06.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxxabi/test/unwind_06.pass.cpp b/libcxxabi/test/unwind_06.pass.cpp
index a30efb1f01c..e7125660f46 100644
--- a/libcxxabi/test/unwind_06.pass.cpp
+++ b/libcxxabi/test/unwind_06.pass.cpp
@@ -101,9 +101,9 @@ double try7(bool v) {
double g = get(0);
double h = get(0);
for (counter = 100; counter; --counter)
- a += get(1) + b+c+d+e+f+g;
+ a += get(1) + b+c+d+e+f+g+h;
if (v) throw 10;
- return get(0)+a+b+c+d+e+f+g;
+ return get(0)+a+b+c+d+e+f+g+h;
}
double try8(bool v) {
@@ -117,9 +117,9 @@ double try8(bool v) {
double h = get(0);
double i = get(0);
for (counter = 100; counter; --counter)
- a += get(1) + b+c+d+e+f+g+i;
+ a += get(1) + b+c+d+e+f+g+h+i;
if (v) throw 10;
- return get(0)+a+b+c+d+e+f+g+i;
+ return get(0)+a+b+c+d+e+f+g+h+i;
}
OpenPOWER on IntegriCloud