-// { dg-options "-std=c++11" }
+// { dg-do run { target c++11 } }
+// { dg-timeout-factor 2 }
// 2009-06-05 Stephen M. Webb <stephen.webb@bregmasoft.ca>
//
-// Copyright (C) 2009-2016 Free Software Foundation, Inc.
+// Copyright (C) 2009-2024 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
// basic_regex::operator=() resets flags. libstdc++/64680
void test02()
{
- bool test __attribute__((unused)) = true;
-
std::regex re("[[:alnum:]]", std::regex_constants::basic);
re = "\\w+";
}