-// { dg-do compile }
-// { dg-options "-std=gnu++11" }
+// { dg-do compile { target c++11 } }
+// { dg-timeout-factor 2 }
// 2007-03-12 Stephen M. Webb <stephen.webb@bregmasoft.com>
//
-// Copyright (C) 2010-2015 Free Software Foundation, Inc.
+// Copyright (C) 2010-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
#include <string>
#include <regex>
-#include <testsuite_hooks.h>
// Tests basic_regex assignment operator from a C++ string;
void test01()
{
- bool test __attribute__((unused)) = true;
- typedef std::basic_regex<wchar_t> test_type;
+ typedef std::basic_regex<wchar_t> test_type;
std::wstring s(L"a*b");
test_type re;