-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
-// Copyright (C) 2013-2014 Free Software Foundation, Inc.
+// Copyright (C) 2013-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_string_view::find_last_not_of
-bool
+void
test03()
{
- bool test [[gnu::unused]] = true;
-
typedef std::experimental::wstring_view::size_type csize_type;
std::experimental::wstring_view::size_type pos;
csize_type npos = std::experimental::wstring_view::npos;
VERIFY( pos == 0 );
pos = z.find_last_not_of(L"Xa");
VERIFY( pos == 1 );
-
- return test;
}
+
int
main()
{