aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc')
-rw-r--r--libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc b/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc
index ee4a93c6f0a..dfbc46cb406 100644
--- a/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc
+++ b/libstdc++-v3/testsuite/23_containers/list/modifiers/3.cc
@@ -23,7 +23,7 @@
typedef __gnu_test::copy_tracker T;
-bool test = true;
+bool test __attribute__((unused)) = true;
// This test verifies the following.
@@ -79,7 +79,7 @@ test01()
try
{
list0101.push_back(T(4, true));
- VERIFY(("no exception thrown", false));
+ VERIFY(false);
}
catch (...)
{