diff options
Diffstat (limited to 'libstdc++-v3/testsuite/26_numerics/valarray_operators.cc')
-rw-r--r-- | libstdc++-v3/testsuite/26_numerics/valarray_operators.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/26_numerics/valarray_operators.cc b/libstdc++-v3/testsuite/26_numerics/valarray_operators.cc index 84c072a4895..16479a51241 100644 --- a/libstdc++-v3/testsuite/26_numerics/valarray_operators.cc +++ b/libstdc++-v3/testsuite/26_numerics/valarray_operators.cc @@ -24,7 +24,7 @@ void test01() // check unary operators { - bool test = true; + bool test __attribute__((unused)) = true; std::valarray<int> u(1); u[0]=1; @@ -36,7 +36,7 @@ void test01() // check unary operators void test02() // check binary operators { - bool test = true; + bool test __attribute__((unused)) = true; std::valarray<int> u(1), v(1); u[0]=1; v[0]=3; |