1//===----------------------------------------------------------------------===//
2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
3// See https://llvm.org/LICENSE.txt for license information.
4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5//
6//===----------------------------------------------------------------------===//
7
8// UNSUPPORTED: c++03, c++11, c++14, c++17, c++20
9
10// <format>
11
12// enum class range_format {
13// disabled,
14// map,
15// set,
16// sequence,
17// string,
18// debug_string
19// };
20
21#include <format>
22
23// test that the enumeration values exist
24static_assert(requires { std::range_format::disabled; });
25static_assert(requires { std::range_format::map; });
26static_assert(requires { std::range_format::set; });
27static_assert(requires { std::range_format::sequence; });
28static_assert(requires { std::range_format::string; });
29static_assert(requires { std::range_format::debug_string; });
30

source code of libcxx/test/std/utilities/format/format.range/format.range.fmtkind/range_format.compile.pass.cpp