aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io/types/2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/types/2.cc')
-rw-r--r--libstdc++-v3/testsuite/27_io/types/2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/27_io/types/2.cc b/libstdc++-v3/testsuite/27_io/types/2.cc
index c64e20b78fb..6e0cb502220 100644
--- a/libstdc++-v3/testsuite/27_io/types/2.cc
+++ b/libstdc++-v3/testsuite/27_io/types/2.cc
@@ -27,7 +27,7 @@ void test01()
std::streamoff soff;
// No signed/unsigned warnings.
- long l = ssize;
+ long l __attribute__((unused)) = ssize;
// Wrapped in pos_type is EOF.
soff = -1;