//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // move_iterator // move_iterator(); // // constexpr in C++17 #include #include "test_macros.h" #include "test_iterators.h" template void test() { std::move_iterator r; } int main() { test >(); test >(); test >(); test >(); test(); #if TEST_STD_VER > 14 { constexpr std::move_iterator it; } #endif }