diff options
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/binary_search.cc')
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/binary_search.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/binary_search.cc b/libstdc++-v3/testsuite/25_algorithms/binary_search.cc index fda74d2a706..37019f84ede 100644 --- a/libstdc++-v3/testsuite/25_algorithms/binary_search.cc +++ b/libstdc++-v3/testsuite/25_algorithms/binary_search.cc @@ -21,7 +21,7 @@ #include <algorithm> #include <testsuite_hooks.h> -bool test = true; +bool test __attribute__((unused)) = true; const int A[] = {1, 2, 3, 3, 3, 5, 8}; const int C[] = {8, 5, 3, 3, 3, 2, 1}; @@ -172,12 +172,12 @@ test04() } int -main(int argc, char* argv[]) +main() { - test01(); - test02(); - test03(); - test04(); - - return !test; + test01(); + test02(); + test03(); + test04(); + + return 0; } |