summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc
index 7f32662d315..84eb9f81cc1 100644
--- a/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/sputn/char/1-io.cc
@@ -39,7 +39,7 @@ void test05()
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test = true;
+ bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
// streamsize sputn(const char_typs* s, streamsize n)
@@ -62,7 +62,7 @@ void test05()
}
}
-main()
+int main()
{
test05();
return 0;