blob: 28648b8153473b89297ff1c55f4e06db7508fdf5 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// <iterator>
// move_iterator
// explicit move_iterator(Iter );
// test explicit
#include <iterator>
template <class It>
void
test(It i)
{
std::move_iterator<It> r = i;
}
int main(int, char**)
{
char s[] = "123";
test(s);
return 0;
}