1 //===----------------------------------------------------------------------===// 2 // 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 // UNSUPPORTED: c++03, c++11, c++14, c++17 10 11 // constexpr inner-iterator::inner-iterator() = default; 12 13 #include <ranges> 14 15 #include "../types.h" 16 test()17constexpr bool test() { 18 { 19 [[maybe_unused]] InnerIterForward i; 20 } 21 22 { 23 [[maybe_unused]] InnerIterInput i; 24 } 25 26 return true; 27 } 28 main(int,char **)29int main(int, char**) { 30 test(); 31 static_assert(test()); 32 33 return 0; 34 } 35