summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc
index fd7124a1448..6d26eac49cf 100644
--- a/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/snextc/char/1-out.cc
@@ -38,8 +38,8 @@ void test05()
typedef 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 c2;
// int_type snextc()
// calls sbumpc and if sbumpc != eof, return sgetc
@@ -59,7 +59,7 @@ void test05()
}
}
-main()
+int main()
{
test05();
return 0;