X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2F18_support%2Funexpected_handler.cc;h=ee3a3612f4fb6d8c4509e95b76f72102804182ea;hb=83ffe9cde7fe0b4deb0d1b54175fd9b19c38179c;hp=6baa2f6c4e4734d3bc1b67689b34a6fd171d51ac;hpb=aa118a03c4d04ce703f4b77f1d845d611ffecf50;p=thirdparty%2Fgcc.git diff --git a/libstdc++-v3/testsuite/18_support/unexpected_handler.cc b/libstdc++-v3/testsuite/18_support/unexpected_handler.cc index 6baa2f6c4e47..ee3a3612f4fb 100644 --- a/libstdc++-v3/testsuite/18_support/unexpected_handler.cc +++ b/libstdc++-v3/testsuite/18_support/unexpected_handler.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2013-2014 Free Software Foundation, Inc. +// Copyright (C) 2013-2023 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 @@ -15,7 +15,8 @@ // with this library; see the file COPYING3. If not see // . -// { dg-options "-std=gnu++11" } +// { dg-options "-Wno-deprecated-declarations" } +// { dg-do run { target { c++11 && { ! c++23 } } } } // D.11 Violating exception-specifications