diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc index 2ff9a6c5aad..ce6de8ec076 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc @@ -37,8 +37,8 @@ void test01() typedef std::filebuf::int_type int_type; typedef filebuf::traits_type traits_type; - bool test = true; - int_type c1, c2, c3; + bool test __attribute__((unused)) = true; + int_type c1, c2; // int_type sputbackc(char_type c) // if in_cur not avail || ! traits::eq(c, gptr() [-1]), return pbfail @@ -64,7 +64,7 @@ void test01() } } -main() +int main() { test01(); return 0; |