// { dg-options "-std=gnu++17" }
-// Copyright (C) 2013-2018 Free Software Foundation, Inc.
+// Copyright (C) 2013-2019 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::copy
-#include <string_view>
-#include <testsuite_hooks.h>
+namespace operations_copy_1 {
void
test01()
{
- typedef std::string_view::size_type csize_type;
+ typedef gdb::string_view::size_type csize_type;
const char str_lit01[] = "123456789A";
- const std::string_view str01(str_lit01);
+ const gdb::string_view str01(str_lit01);
char buffer[4] = { 0 };
csize_type len = str01.copy(buffer, sizeof(buffer), 8);
return 0;
}
+
+} // namespace operations_copy_1