diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc index d3e41805938..517d35e64ee 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetn/char/3.cc @@ -29,7 +29,7 @@ void test06() { using namespace std; - bool test = true; + bool test __attribute__((unused)) = true; char buffer[] = "xxxxxxxxxx"; typedef filebuf::int_type int_type; filebuf fbuf01; @@ -39,7 +39,7 @@ void test06() VERIFY( buffer[0] == '/' ); } -main() +int main() { test06(); return 0; |