diff options
Diffstat (limited to 'libstdc++-v3/testsuite/23_containers/list/cons/5.cc')
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/list/cons/5.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/list/cons/5.cc b/libstdc++-v3/testsuite/23_containers/list/cons/5.cc index 64f17118a47..7bc925a64af 100644 --- a/libstdc++-v3/testsuite/23_containers/list/cons/5.cc +++ b/libstdc++-v3/testsuite/23_containers/list/cons/5.cc @@ -21,7 +21,7 @@ #include <list> #include <testsuite_hooks.h> -bool test = true; +bool test __attribute__((unused)) = true; // Copy constructor // @@ -35,7 +35,7 @@ void test04() { const int A[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17}; - const int N = sizeof(A) / sizeof(int); + const std::size_t N = sizeof(A) / sizeof(int); int count; std::list<int>::reverse_iterator i; std::list<int> list0401(A, A + N); |