diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc index 4888f23bb16..c5a860db60d 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-in.cc @@ -38,8 +38,8 @@ void test05() typedef filebuf::traits_type traits_type; typedef size_t size_type; - bool test = true; - streamsize strmsz_1, strmsz_2; + bool test __attribute__((unused)) = true; + streamsize strmsz_1; // streamsize sputn(const char_typs* s, streamsize n) // write up to n chars to out_cur from s, returning number assigned @@ -56,7 +56,7 @@ void test05() } } -main() +int main() { test05(); return 0; |