diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 20:03:30 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-23 20:03:30 +0000 |
commit | f8ef786cfd35341f4c3d1742375e22f829a0876f (patch) | |
tree | 743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/25_algorithms/partition.cc | |
parent | 33020648811e6f8f2313712ecb0e7ba99e2653b7 (diff) | |
download | ppe42-gcc-f8ef786cfd35341f4c3d1742375e22f829a0876f.tar.gz ppe42-gcc-f8ef786cfd35341f4c3d1742375e22f829a0876f.zip |
2003-09-23 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Tweak to avoid warnings.
* testsuite/testsuite_hooks.h: Same.
* testsuite/*/*.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71693 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/partition.cc')
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/partition.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/partition.cc b/libstdc++-v3/testsuite/25_algorithms/partition.cc index 3424dcf80fd..b05c203bd32 100644 --- a/libstdc++-v3/testsuite/25_algorithms/partition.cc +++ b/libstdc++-v3/testsuite/25_algorithms/partition.cc @@ -22,7 +22,7 @@ #include <functional> #include <testsuite_hooks.h> -bool test = true; +bool test __attribute__((unused)) = true; const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17}; const int B[] = {2, 4, 6, 8, 10, 12, 14, 16, 1, 3, 5, 7, 9, 11, 13, 15, 17}; @@ -64,10 +64,10 @@ test02() } int -main(int argc, char* argv[]) +main() { - test01(); - test02(); + test01(); + test02(); - return !test; + return 0; } |