2017-09-13 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/20_util/reference_wrapper/80504.cc: Do not use invalid
+ effective-target.
+ * testsuite/22_locale/conversions/buffer/2.cc: Likewise.
+ * testsuite/28_regex/basic_regex/ctors/basic/iter.cc: Likewise. Fix
+ use of test_container.
+
PR libstdc++/81468
* include/std/chrono (time_point(const time_point<_Dur2>&)): Add
missing constraint from LWG DR 1177.
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-do compile { target c++11 } }
+// { dg-options "-std=gnu++11" }
+// { dg-do compile }
#include <functional>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-do run { target c++11 } }
+// { dg-options "-std=gnu++11" }
+// { dg-do run }
#include <locale>
#include <sstream>
// with this library; see the file COPYING3. If not see
// <http://www.gnu.org/licenses/>.
-// { dg-do compile { target c++11 } }
+// { dg-options "-std=gnu++11" }
+// { dg-do compile }
#include <regex>
#include <testsuite_iterators.h>
test01()
{
char s[] = "";
- __gnu_test::test_container<char, __gnu_test::forward_iterator_wrapper> c(s);
+ __gnu_test::test_container<char, __gnu_test::forward_iterator_wrapper>
+ c(s, s+1);
std::regex r1(c.begin(), c.end());
std::regex r2(c.begin(), c.end(), std::regex_constants::grep);
}