From 904112f6bbb64776936b04c7b6513ffbe7260433 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 10 Jan 2017 17:44:42 +0000 Subject: [PATCH] Adjust effective target selector to fix C++17 FAIL * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust effective target selector to prevent running in C++17 mode. From-SVN: r244280 --- libstdc++-v3/ChangeLog | 3 +++ .../testsuite/18_support/exception_ptr/60612-unexpected.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index da1bfe65db9..e3101e17468 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2017-01-10 Jonathan Wakely + * testsuite/18_support/exception_ptr/60612-unexpected.cc: Adjust + effective target selector to prevent running in C++17 mode. + PR libstdc++/77528 * include/bits/stl_queue.h (queue::c): Add default member initializer. (queue::queue()): Add constructor and define as defaulted. diff --git a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc index 356289239a9..97e3d57f8a5 100644 --- a/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc +++ b/libstdc++-v3/testsuite/18_support/exception_ptr/60612-unexpected.cc @@ -1,4 +1,4 @@ -// { dg-do run { target c++11 } } +// { dg-do run { target { c++11_only || c++14_only } } } // Copyright (C) 2014-2017 Free Software Foundation, Inc. // -- 2.30.2