diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc index b5e470f332a..5ad5aeea235 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc @@ -31,7 +31,7 @@ const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it void test09() { using namespace std; - bool test = true; + bool test __attribute__((unused)) = true; filebuf fbuf; fbuf.open(name_01, ios_base::in); @@ -41,7 +41,7 @@ void test09() VERIFY( r == filebuf::traits_type::eof() ); } -main() +int main() { test09(); return 0; |