X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2F25_algorithms%2Fcopy_n%2F4.cc;h=571a83886f1149f431ee2b1e881ae89d2a9b51e7;hb=99dee82307f1e163e150c9c810452979994047ce;hp=68c1949e5dab0e6fa48436f12368ee165574a813;hpb=405feeb871aeaab47856a361f8a65641b7e181b1;p=thirdparty%2Fgcc.git diff --git a/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc b/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc index 68c1949e5dab..571a83886f11 100644 --- a/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc +++ b/libstdc++-v3/testsuite/25_algorithms/copy_n/4.cc @@ -1,8 +1,8 @@ -// { dg-options "-std=gnu++0x" } +// { dg-do run { target c++11 } } // 2008-06-29 Paolo Carlini -// Copyright (C) 2008-2013 Free Software Foundation, Inc. +// Copyright (C) 2008-2021 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,7 +28,6 @@ void test01() { using namespace std; - bool test __attribute__((unused)) = true; 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);