summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc
index e3c9ac3f3f3..8773f6e00bb 100644
--- a/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc
@@ -39,9 +39,7 @@ void test05()
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test = true;
- streamsize strmsz_1, strmsz_2;
- streamoff strmof_1, strmof_2;
+ bool test __attribute__((unused)) = true;
int_type c1;
int_type c2;
@@ -99,7 +97,7 @@ void test05()
}
}
-main()
+int main()
{
test05();
return 0;