diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2003-09-23 20:03:30 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2003-09-23 20:03:30 +0000 |
commit | 11f10e6b1f34001a5abd7b0046c28610b058b1ff (patch) | |
tree | 743380001d2341c199e3740ca7296f1783cef17c /libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc | |
parent | 1593ad2eddcadbfcefe8ff4abecffb724d71aedb (diff) | |
download | gcc-11f10e6b1f34001a5abd7b0046c28610b058b1ff.tar.gz |
locale_facets.tcc: Tweak to avoid warnings.
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.
From-SVN: r71693
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc index 1899278d415..0cd5d0f27fd 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/char/3.cc @@ -35,7 +35,7 @@ protected: void test03() { using namespace std; - bool test = true; + bool test __attribute__((unused)) = true; locale loc_s(locale::classic(), new state_codecvt); filebuf ob; @@ -48,7 +48,7 @@ void test03() VERIFY( ob.getloc() == loc_s ); } -main() +int main() { test03(); return 0; |