diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc index 09b6e8a7f0a..1e4bb4ea091 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc @@ -38,7 +38,7 @@ void test05() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test = true; + bool test __attribute__((unused)) = true; int_type c1, c2, c3; // int_type sgetc() @@ -78,7 +78,7 @@ void test05() } } -main() +int main() { test05(); return 0; |